I’ve been spending more time than I would like trying to figure out an issue with a Java applet that I would like to run on my Mac OSX laptop. I’m up to date on downloads, etc., so you might think that Java applets would be running 1.5 or 1.6 versions of Java within Firefox on my machine. Not so! Here are a couple of tips with regard to Java on Mac OS.
First, if you suspect that you are running the wrong version of Java for a particular applet in Mac OS, visit the handy dandy Java Tester page. Click on “Test the version of Java your browser is using” and be amazed when it returns: 1.4.2_21 or something like that. Keep reading on the Java Tester page (“Java on Macs”) for how to set the proper version of Java. Basically, “you need to run the utility Applications/Utilities/Java/Java Preferences.app This allows you to set the preferred order for selection of a JVM (along with various runtime and security options). You can set the order separately for applications and applets. Currently Mac users won’t have Java 6 unless they enable it manually this way. (thanks Marcus).”
Once you close and restart Firefox, you should be able to revisit the Java Tester page and verify that you are running 1.5 or whatever version you chose in the Java Preferences application. Of course, this didn’t fix the issue that I was having with my application. *sigh*