Regarding running JBuilder on Mac OS X after installing the recent JDK 1.4.2 update, I knew there had to be a better way, and today on the Apple java-dev mailing list, I happened to see it: in the JBuilder.framework directory, there’s a bin directory containing a file, “jdk.config”. That file is the one that had the hardcoded path to a native library which moved in the upgrade. The fix is to make sure that the line that looks like this:
is actually exactly like that — that is, pointing to a real file in a real directory. I must have put that line in in the first place when Apple released Java 1.4, but I had forgotten about it.
javapath /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjvm_compat.dylib
is actually exactly like that — that is, pointing to a real file in a real directory. I must have put that line in in the first place when Apple released Java 1.4, but I had forgotten about it.
Thanks to Steve Roy for the tip.