Hi all,
I have a problem that I have not been able to solve. I am currently developing on 10.6 (5.4.3) and attempting to deploy on 10.5 (5.4.3). Currently all my deployment machines are on 64-Bit Java 1.6 and I am hoping to keep it that way.
When I deploy the app on 10.5, running it manually on the command line launches it ok. Some errors do show up:
[2011-5-18 14:39:1 GMT-04:00] <main> The bundle <AppName> has malformed version number:
and I can see java 64 bit is being loaded
java.specification.version=1.6
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
/Library/WebObjects/Extensions/xml-apis.jar
/Library/WebObjects/Extensions/
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)
I have tried
• adding -d64 to additional arguments, which is pointless since the correct java version is loading
• embedding system frameworks and not embedding them
• switching to 1.5 compatibility which raise another error in a Math library I was using
I'm really not certain how to remedy this. Does anyone have any pointers as to what the problem is exactly?
--
Chuck Hill Senior Consultant / VP Development
Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving! Network, socialize, and enjoy a great cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/