This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Who is this simontuffs?. I get the following error, is it something to do with JVM version? Marcus
C:\dload>java -jar Inquisition-0.13.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n umber in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at com.simontuffs.onejar.JarClassLoader.defineClass(JarClassLoader.java: 693) at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:59 9) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.simontuffs.onejar.Boot.run(Boot.java:300) at com.simontuffs.onejar.Boot.main(Boot.java:159)
Oops! I get this with Java 5, but not Java 6. Does the WebStart stuff work for you? I'll have to remake the Jar tonight. It does a bit of magic to bundle all the libraries and stuff into a single Jar, which is where the Simon Tuffs stuff is coming from.
Looks lovely on my JDK 1.6 machine at home, very lovely. For the wider audience I didn't mean to sound rude when I said it was still broken, Matt and I know each other and I saw him the other day where he works.
Joined: Aug 15, 2006
Cheers guys. Hopefully it's working now for Java 5. (I'd been a numpty and compiled with Java 6 which, it turns out, isn't all that backwards compatible with class files).