[jsword-devel] Jsword development
Kurt Andrews
Kurt.W.Andrews at sbcglobal.net
Mon Apr 10 17:19:03 MST 2006
I tried the bible desktop but the installer isn't working quite
right. It will download a jnlp file and clicking on that will
quickly open the java cache viewer followed by an instance of
com.sun.javaws, but both of those just shutdown without doing
anything. Then I tried downloading the tar ball with the jars in it,
uncompressed it into the /Applications sub-directory, modified the
jsword.sh shell script so that the Darwin classpath would be set,
then ran the shell script from the command line. Here are the results:
NB: The Java environment on my Mac is what came from the factory
(ver. 1.4.2.09)
Last login: Sun Apr 9 16:02:52 on ttyp1
Welcome to Darwin!
kurt-andrews-computer:~ kandrews$ cd /Applications
kurt-andrews-computer:/Applications kandrews$ cd jsword-1.0.2-20060409
kurt-andrews-computer:/Applications/jsword-1.0.2-20060409 kandrews$ ./
jsword.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/crosswire/bibledesktop/desktop/Desktop (Unsupported major.minor
version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
302)
kurt-andrews-computer:/Applications/jsword-1.0.2-20060409 kandrews$
I've downloaded and installed the subclipse plugin so one I get
things running, if there are any todos maybe I could help out. I
don't plan on bailing out of the c/c++ development, but I use
eclipse, ant, and clearcase every day at work so that type of
environment is more familiar to me and I can probably start
contributing faster.
I'm curious about how jsword works with sword modules. Do the jsword
classes use JNI to make calls to the sword module? I can't seem to
find the JNI in the source code anywhere, but I haven't found and
information on the gbs format either so how did you figure out how to
read it? May be there's less to the xml2gbs import than I think
More information about the jsword-devel
mailing list