java preferences fails to launch
I can no longer run JavaPreferences, it fails to launch with the message
"A static initializer of the main class threw an exception: java.lang.NullPointerException..
a while ago
OK, after panicking a bit I have found the solution to this.
Go to /System/Library/Frameworks/JavaVM.framework/Versions/ and delete 1.6.0 folder and 1.6.
Then download this file:
http://www.cs.washington.edu/homes/isdal/snowleopardworkaround/java.1.5.0-leopard.tar.gz
Decompress the file and you should have a folder named 1.5.0.
Copy that folder to the /System/Library/Frameworks/JavaVM.framework/Versions/ replacing the old one. A window will pop up for version authentication. Click "Authenticate" and replace the old folder with the one from the java.1.5.0-leopard.tar.gz.
Run Java Preferences from Utilities and you are good to go.
I have tried, but I still cannot run Java preference and get the same answer : "A static initializer of the main class threw an exception: java.lang.NullPointerException..
can anyone help?
iMac, Mac OS X (10.5.8)