tags:

views:

59

answers:

0

I have problems with my java utility application on Mac OS. When I try to start it I get

26.11.09 10:00:04 [0x0-0x29029].com.apple.java.JavaPreferences[984]   
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
26.11.09 10:00:04 [0x0-0x29029].com.apple.java.JavaPreferences[984] Exception in thread "main" java.lang.NullPointerException
26.11.09 10:00:04 [0x0-0x29029].com.apple.java.JavaPreferences[984]  at   apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
26.11.09 10:00:04 [0x0-0x29029].com.apple.java.JavaPreferences[984]  at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
26.11.09 10:00:04 [0x0-0x29029].com.apple.java.JavaPreferences[984]  at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
26.11.09 10:00:05 Java Preferences[984] Unable to create Java Virtual Machine.

I assume it is somehow connected with the installation of an leopard java 1.5 which was not originally part of snow leopard. After I did, I still work with Current -> 1.6, CurrentJDK -> 1.6, but maybe when I started the utility the last time I changed something in version usage or the 32-/64-Bit preferences there.

Any ideas why this happens?

Is it possible to get verbose output on what really happens when starting via JavaAppLauncher (java version, classpath)?