This is fantastic and I'm looking forward to using this once I root my nook.
But I'm feeling really thickheaded here. Running OSX 10.5.8 and getting:
daxiweida:bin joel$ ./calibre2opds ~/Documents/eBooks/
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 :676)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.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.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 17)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:375)
daxiweida:bin joel$
Now, I suspect this is just a mismatch in Java versions. But I can't for the life of me figure out what to do next. I'm not a neophyte, but we just has a baby three weeks ago and I think the sleep deprivation is getting to me.
What is the correct Java version we need here and if you can throw me a bone about updating it. Software Updates isn't showing me any missing updates (aside from the more recent security update).
UPDATE:
I did some googlin' and tweaked my JAVA prefs to ensure Java 6 was at the top and verified with terminal. Still no dice.
daxiweida:bin joel$ java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
daxiweida:bin joel$ ./calibre2opds ~/Documents/eBooks/
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 :676)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.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.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 17)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:375)
daxiweida:bin joel$
Last edited by JoelMBenge; 01-22-2010 at 11:44 PM.
Reason: Somethin' to add.
|