v9.1 won't launch with 64-bit Java 6 or 5 on OS X
Posted: Thu May 01, 2008 6:23 pm
Virtually all of my Java applications run fine with the 64-bit versions of Java 5 and 6 under OS X (Leopard). Eclipse, however, won't launch and the following errors show in the system log...
I've tried making changes to the info.plist as suggested in Apple Radar reports 5226690 and 5422774. Adding the JVMArchs to the oXygen plist corrected the missing jvmarchs error, but the app won't launch.
Here's the log output after making the changes noted above...
Java 5...
Java 6...
Any idea what is going on? I'm guessing maybe there are native methods in oXygen that are 32-bit only. I still haven't figure out where to set the equivalent of the "-d32" flag for the oXygen package. I'm guessing that would work around the launch problem, but still doesn't resolve the root problem.
Should you need the VM info, here it is...
Java 6 64-bit....
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)
Java 5 64-bit...
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-119, mixed mode)
Code: Select all
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] [JavaAppLauncher] A 64-bit JVM is available for 1.5.0
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] [JavaAppLauncher] JVMArchs not found in Java dictionary
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] Exception in thread "main"
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] java.lang.NoClassDefFoundError: ro/sync/util/l
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] at java.lang.Class.forName0(Native Method)
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] at java.lang.Class.forName(Class.java:242)
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] at apple.launcher.LaunchRunner.loadMainMethod(LaunchRunner.java:55)
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] at apple.launcher.LaunchRunner.run(LaunchRunner.java:111)
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
5/1/08 10:35:14 AM [0x0-0x125125].ro.sync.exml.Oxygen[11192] at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
Here's the log output after making the changes noted above...
Java 5...
Code: Select all
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] [JavaAppLauncher] A 64-bit JVM is available for 1.5.0
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] Exception in thread "main" java.lang.NoClassDefFoundError: ro/sync/util/l
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] at java.lang.Class.forName0(Native Method)
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] at java.lang.Class.forName(Class.java:242)
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] at apple.launcher.LaunchRunner.loadMainMethod(LaunchRunner.java:55)
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] at apple.launcher.LaunchRunner.run(LaunchRunner.java:111)
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
5/1/08 11:25:05 AM [0x0-0x13a13a].ro.sync.exml.Oxygen[11318] at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
Code: Select all
5/1/08 11:31:05 AM [0x0-0x13c13c].ro.sync.exml.Oxygen[11330] [JavaAppLauncher] A 64-bit JVM is available for 1.6.0
5/1/08 11:31:05 AM [0x0-0x13c13c].ro.sync.exml.Oxygen[11330] [JavaAppLauncher] and it is the only version available
5/1/08 11:31:05 AM [0x0-0x13c13c].ro.sync.exml.Oxygen[11330] [JavaAppLauncher] Application wants to use 64-bit JVM
5/1/08 11:31:05 AM [0x0-0x13c13c].ro.sync.exml.Oxygen[11330] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
5/1/08 11:31:05 AM [0x0-0x13c13c].ro.sync.exml.Oxygen[11330] Exception in thread "main"
5/1/08 11:31:05 AM [0x0-0x13c13c].ro.sync.exml.Oxygen[11330] java.lang.NoClassDefFoundError: ro/sync/util/l
Any idea what is going on? I'm guessing maybe there are native methods in oXygen that are 32-bit only. I still haven't figure out where to set the equivalent of the "-d32" flag for the oXygen package. I'm guessing that would work around the launch problem, but still doesn't resolve the root problem.
Should you need the VM info, here it is...
Java 6 64-bit....
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)
Java 5 64-bit...
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-119, mixed mode)