/[debian]/jabref/branches/2.3/debian/jabref-wrapper
ViewVC logotype

Contents of /jabref/branches/2.3/debian/jabref-wrapper

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1279 - (show annotations)
Sun Apr 20 12:30:10 2008 UTC (13 years, 3 months ago) by gregoa
File size: 699 byte(s)
integrate patches from Gerardo Curiel
1 #!/bin/sh
2
3 # jabref wrapper script
4 # code for java detection borrowed from tuxguitar
5
6 if [ -z "$JAVA_HOME" ] ; then
7 t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
8 t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
9 t=/usr/lib/jvm/java-7-icedtea && test -d $t && JAVA_HOME=$t
10 test -n "$JAVA_HOME" && JAVA=${JAVA_HOME}/jre/bin/java
11 fi
12
13 export JAVA=${JAVA:=java}
14
15 exec $JAVA -cp /usr/share/java/jabref.jar:/usr/share/java/antlr.jar:/usr/share/java/antlr3.jar:/usr/share/java/looks.jar:/usr/share/java/forms.jar:/usr/share/java/spin.jar:/usr/share/java/glazedlists.jar:/usr/share/java/microba.jar:/usr/share/java/pdfbox.jar:/usr/share/java/jempbox.jar net.sf.jabref.JabRefMain "$@"

  ViewVC Help
Powered by ViewVC 1.1.26