-
Bug
-
Resolution: Fixed
-
Major
-
None
Hello. Upgraded today (1.359) and got "Bad version number in .class file". It's on:
// DNSMultiCast.(DNSMultiCast.java:24): this.jmdns = JmDNS.create();
Probably jmdns requires Java 1.6 and so Hudson cannot be run on Java 1.5.
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 winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:68) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at hudson.DNSMultiCast.(DNSMultiCast.java:24) at hudson.model.Hudson.(Hudson.java:628) at hudson.model.Hudson.(Hudson.java:545) at hudson.WebAppMain$2.run(WebAppMain.java:222)
- duplicates
-
JENKINS-6653 java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class javax.jmdns.JmDNS
- Closed