Getting JRun and CFMX to Work With Java 1.4.1 on OS X

Thanks to Woojin Choi for posting information on getting JRun to work with Java 1.4.1 on OS X. I have made a couple of adjustment to what Woojin posted to match what I found to be effective:

First, back up the jvm.cfg file found here (you will need to use ‘sudo’ to make these changes):

/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/lib/jvm.cfg

Edit jvm.cfg. Change this…

-client KNOWN
-jvm ALIASED_TO -client
-hotspot ALIASED_TO -client
-server KNOWN
-classic WARN

… to this …

-client
-jvm
-hotspot
-server
-classic

Edit {jrun_installation_dir}/bin/jvm.config, and change this…

java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home

… to this …

#java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home
java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home

Give it a try and see what happens!