/[debian]/jabref/trunk/jabref
ViewVC logotype

Contents of /jabref/trunk/jabref

Parent Directory Parent Directory | Revision Log Revision Log


Revision 626 - (show annotations)
Fri Mar 16 01:46:07 2007 UTC (14 years, 6 months ago) by gregoa
File size: 338 byte(s)
* Exec the Java interpreter in /usr/bin/jabref; thanks to Tobias Richter
  (closes: #415019).
* Adapt README.Debian to the new wrapper script.
1 #!/bin/sh
2
3 # jabref wrapper script
4 # code for java detection borrowed from tuxguitar
5
6 if [ -z $JAVA_HOME ]
7 then
8 t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
9 t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
10 JAVA=${JAVA_HOME}/jre/bin/java
11 fi
12
13 export JAVA=${JAVA:=java}
14
15 exec $JAVA -jar /usr/share/java/jabref.jar "$@"

  ViewVC Help
Powered by ViewVC 1.1.26