This puts all the Java 1.4.2 information in my PATH and CLASSPATH before the 1.5.x installation, and I ran a test Mac Java application that doesn't use the newer Java 5 syntax, and everything worked fine. Java -cp MyApplication.jar path.to.MainClass When used together with an updated version of Mozillas MRJ Plugin Carbon (included in this distribution), the Java Embedding Plugins functionality is available to current releases of Firefox, Seamonkey. PATH=/System/Library/Frameworks/amework/Versions/1.4.2/Commands/:$ The Java Embedding Plugin is a utility that allows other web browsers than Apples Safari to use the most recent versions of Java on Mac OS X. JAVA_HOME=/System/Library/Frameworks/amework/Versions/1.4.2 I created a shell script that looks like this to let me run this older Mac Java JVM: There are probably easier ways to do it, but I ended up using the Mac mdfind command, which is the command-line version of Spotlight.Īfter a lot of grep commands. The hardest part about this is finding where the previous Java version is installed. The audio driver version is shown as below. Can I use this older Java JVM on Mac OS X 10.4?Īnswer: Yes, I was able to do this. Fixes: - Released as the version supporting MAC OS X 10.11(El Capitan) in December 2015.
But, for a certain application I need to use a previous version of Java, which I can see is actually installed on the hard drive. Mac Java FAQ: I'm currently using Mac OS/X 10.4 with Java 1.5.x.