Java wireless toolkit

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
I am trying to install it on openSUSE, anyone knows why it gives this error:

Enter a path to the Java 2 SDK: /home/vigge_sWe/j2sdk1.4.2_18/bin
/home/vigge_sWe/j2sdk1.4.2_18/bin/java
Testing /home/vigge_sWe/j2sdk1.4.2_18/bin/java...
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/kvem/environment/JavaVersionTester (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)
/home/vigge_sWe/j2sdk1.4.2_18/bin is not a suitable Java interpreter

?
 

javajenius

New Member
Messages
258
Reaction score
0
Points
0
I know the reason. Its throwing an exception because you have an old version of java. It says its version 1.4.2, which is pretty old, since there is version 1.6.x available now. Just go to java.com and download the latest jdk.

Im curious, are you trying to develop a wireless app in java ?
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
I know the reason. Its throwing an exception because you have an old version of java. It says its version 1.4.2, which is pretty old, since there is version 1.6.x available now. Just go to java.com and download the latest jdk.

Im curious, are you trying to develop a wireless app in java ?

Yes. I followed a tutorial at http://koderko.dk (the pong one). In windows, it worked succefully, but on linux it does this. I maybe try to update java then.
 
Top