Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 50 by c2auestad: Bad verison with java -jar (...) and  
run-server.sh
http://code.google.com/p/wave-protocol/issues/detail?id=50

What steps will reproduce the problem?
1. Ant
2. run-server.sh
3. java -jar dist/fedone-server-0.2.jar

What is the expected output? What do you see instead?
Some sign that it has started, got this instead:

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:675)
        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:316)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)


What version of the product are you using? On what operating system?
Mac OS X, FedOne 0.2

Please provide any additional information below.
I saw that a person had sent in an issue with the same error output as
mine while trying to run the run-server.sh file, and got a tip as to rather
use "java -jar dist/fedone-0.2.tar", while the newest build doesnt have
"fedone-0.2.jar" but rather "fedone-server-0.2.jar" I assume it is this one  
I
am supposed to use.

Java is up-to-date with the newest version, and since I was able to compile
with ant I assumed there wouldnt be a problem like this.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to