Package Details: jsword 1.6-3

Git Clone URL: https://aur.archlinux.org/jsword.git (read-only)
Package Base: jsword
Description: Frontend for the jsword-engine, a sword-like bible study software written in Java.
Upstream URL: http://crosswire.org/jsword
Licenses: GPL
Conflicts: bibledesktop
Provides: bibledesktop
Replaces: bibledesktop
Submitter: haawda
Maintainer: haawda
Last Packager: haawda
Votes: 3
Popularity: 0.000000
First Submitted: 2010-12-15 15:21
Last Updated: 2015-06-08 22:30

Latest Comments

davie95376 commented on 2012-08-02 22:01

The jsword PKGBUILD as of Tue, 12 Apr 2011 19:08:33 +0000 should depend on 'java-jdom1,' with which jsword 1.6 works, instead of 'java-jdom.'

davie95376 commented on 2012-08-02 21:56

The issue stated on 02 Aug 2012 05:10:45 +0000 may be caused by differing java-jdom versions. Jsword 1.6 seems incompatible with java-jdom 2.0.1 built from AUR. When jsword-1.6-bin.tar.gz is extracted in a working directory, and 'sh BibleDesktop.sh' is spawned therein, the script indicates no error.

# info.xml file provided by http://crosswire.org/ftpmirror/pub/jsword/release/jsword-1.6-bin.tar.gz:/jsword-1.6/jdom-1.0.jar
./META-INF/info.xml:4: <version>1.0, built September 9 2004</version>

# jdom-info.xml file provided by AUR-built java-jdom 2.0.1-1:/usr/share/java/jdom/jdom.jar
./META-INF/jdom-info.xml:4: <version>2.x-2012.07.30.22.46, built July 30 2012</version>

davie95376 commented on 2012-08-02 05:10

$ /usr/bin/jsword
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/JDOMException
Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.crosswire.bibledesktop.desktop.Desktop. Program will exit.

$ for _ in jsword java-commons-logging java-jdom; do pacman -Qs ${_}; done
jsword 1.6-2
java-commons-logging 1.1.1-5
java-jdom 2.0.1-1

$ for _ in jsword java-commons-logging java-jdom; do pacman -Ql ${_}; done | awk {'print $2'} | xargs file | grep -v directory | awk {'print $1'} | sed s#:##g | xargs grep -rn org.crosswire.bibledesktop.desktop.Desktop
/usr/share/jsword/BibleDesktop.sh:127:"$JAVACMD" -classpath "${LOCALCLASSPATH}":/usr/share/java/commons-logging/commons-logging.jar:/usr/share/java/jdom/jdom.jar $JSWORD_PROPERTIES org.crosswire.bibledesktop.desktop.Desktop
Binary file /usr/share/jsword/bibledesktop-1.6.jar matches
/usr/share/jsword/bibledesktop.jnlp:50: <application-desc main-class="org.crosswire.bibledesktop.desktop.Desktop"/>

davie95376 commented on 2012-08-02 05:10

$ /usr/bin/jsword
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/JDOMException
Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.crosswire.bibledesktop.desktop.Desktop. Program will exit.

$ for _ in jsword java-commons-logging java-jdom; do pacman -Qs ${_}; done
jsword 1.6-2
java-commons-logging 1.1.1-5
java-jdom 2.0.1-1

$ for _ in jsword java-commons-logging java-jdom; do pacman -Ql ${_}; done |
awk {'print $2'} | xargs file | grep -v directory | awk {'print $1'} | sed s#:##g |
xargs grep -rn org.crosswire.bibledesktop.desktop.Desktop
/usr/share/jsword/BibleDesktop.sh:127:"$JAVACMD" -classpath "${LOCALCLASSPATH}":/usr/share/java/commons-logging/commons-logging.jar:/usr/share/java/jdom/jdom.jar $JSWORD_PROPERTIES org.crosswire.bibledesktop.desktop.Desktop
Binary file /usr/share/jsword/bibledesktop-1.6.jar matches
/usr/share/jsword/bibledesktop.jnlp:50: <application-desc main-class="org.crosswire.bibledesktop.desktop.Desktop"/>

haawda commented on 2011-04-12 19:09

Removed unneeded files and make use of libs already packaged for Arch Linux.