Java runtime errors on Mac OSX 10.3.9

Started by jrh, July 15, 2007, 06:53:40 PM

Previous topic - Next topic

jrh

After putting guiserver.lsp and guiserver.jar in /usr/share/newlisp I get the following error message when trying to run either guiserver.jar from the command line or when trying to run button-demo.lsp from the command line or inside of newLISP:



jrh$ ./button-demo.lsp
Exception in thread "main" java.lang.UnsupportedClassVersionError: guiserver (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)


Other Java apps run fine.  I have newLISP 9.1, GUI-server 0.995, and my Java version is:
jrh$ java -version
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-270)
Java HotSpot(TM) Client VM (build 1.4.2-70, mixed mode)


If there are any Java jockeys out there who could help me with this problem I would appreciate any advice you might have.