Macintosh Applet Quirkiness
Hi. I have this rather annoying situation in a work project. All my systems are Linux, so naturally I want to compile under Linux using javac. But for some mysterious reason, if I compile under Linux, the resultant Java applet bytecode will not work when viewed in a web browser on a MacOS X system. (While working just fine when viewed on a Windows or Linux system.)
But if I take the same source code, and compile it using javac on a MacOS X system, the resultant Java applet byte code will work fine when viewed in a web browser on any OS.
So, why is it that bytecode must be compiled on a MacOSX system in order to be compatible with an OSX system? Besides not making any sense, it is a real pain because development code and production code have to be built on separate systems.
Many months ago I did some research into this problem, but I wasn't able to find any helpful explanations.