How do I run this in Arch

Asked by Brian Harkness

This is an output of what I get and I don't know how to make it work:

[guest@myfaun ~]$ cd /home/guest/bin/Streamtastic-0.3.7.1/
[guest@myfaun Streamtastic-0.3.7.1]$ java -jar "Streamtastic.jar"
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        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:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[guest@myfaun Streamtastic-0.3.7.1]$

Question information

Language:
English Edit question
Status:
Answered
For:
Streamtastic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Joachim Lippold (mailtojoeaticq) said :
#1

java.lang.UnsupportedClassVersionError may mean, that your java runtime is not up to date.

Run the following command:
java -version

The output should look like this:
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

Streamtastic needs at least a 1.6 java runtime.

After a 1.6 runtime is available, Streamtastic should run fine.

Can you help with this problem?

Provide an answer of your own, or ask Brian Harkness for more information if necessary.

To post a message you must log in.