I've been compiling applications for this environment for Java 1.5. But I had an app that was using ERXFileUtilities.stringFromFile(File f) and that requires Java 1.6 in the newer versions of Wonder. So I tried compiling my app for Java 1.6 but when I go to deploy it I get the following error:
/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'm kind of confused how to fix this... does anybody have a suggestion?
Aloha,
|
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail
|
|