2000-02-02 16:55:56 +00:00
|
|
|
--- vje30/bin/vjeacc.orig Tue Dec 28 03:00:00 1999
|
2000-07-05 03:36:26 +00:00
|
|
|
+++ vje30/bin/vjeacc Wed Jul 5 12:26:22 2000
|
|
|
|
@@ -23,10 +23,18 @@
|
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VJE_HOME/lib
|
2000-02-02 16:55:56 +00:00
|
|
|
|
|
|
|
if [ $SysName = FreeBSD ]; then
|
2000-07-05 03:36:26 +00:00
|
|
|
- echo "1.1.n JDK/JRE"
|
2000-02-02 16:55:56 +00:00
|
|
|
- export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/rt.jar:$JAVA_HOME/lib/i18n.jar
|
|
|
|
- export CLASSPATH=$CLASSPATH:$VJE_HOME/bin/vjeacc.jar:$VJE_HOME/bin/swingall.jar
|
2000-07-05 03:36:26 +00:00
|
|
|
- jre jp.co.vacs.gimlet.Main $1
|
|
|
|
+ javaVer=`java -version 2>&1 | grep version`
|
|
|
|
+ case $javaVer in
|
|
|
|
+ *1.2*)
|
|
|
|
+ echo "1.2.x JDK/JRE"
|
|
|
|
+ java -cp $VJE_HOME/bin/vjeacc.jar jp.co.vacs.gimlet.Main $1
|
|
|
|
+ ;;
|
|
|
|
+ *1.1*)
|
|
|
|
+ echo "1.1.x JDK/JRE"
|
|
|
|
+ export CLASSPATH=$JAVA_HOME/lib/classes.zip:$SWING_HOME/swingall.jar:$VJE_HOME/bin/vjeacc.jar
|
|
|
|
+ jre jp.co.vacs.gimlet.Main $1
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
2000-02-02 16:55:56 +00:00
|
|
|
else
|
|
|
|
lddOut=/tmp/ldd.vout.10
|
2000-07-05 03:36:26 +00:00
|
|
|
java -version>/dev/null 2>$lddOut
|