summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-06-27 10:53:19 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-06-27 10:53:19 +0000
commit586b2f0315ea47697e14300ab5b66d96c0133b15 (patch)
treedf13ce25c6df84a87f368300cdbd5151cb56cffb
parent59934da117685332d4b929dbbe4f0f966879f114 (diff)
midpath: Allow overriding the JAVA executable in start script
-rw-r--r--packages/midpath/files/midpath-launcher-j2se4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/midpath/files/midpath-launcher-j2se b/packages/midpath/files/midpath-launcher-j2se
index 0b1c421e2d..22928a0e1e 100644
--- a/packages/midpath/files/midpath-launcher-j2se
+++ b/packages/midpath/files/midpath-launcher-j2se
@@ -4,7 +4,9 @@ if [ ! $LAUNCHER_CLASS ]; then
LAUNCHER_CLASS=org.thenesis.midpath.main.MIDletLauncher
fi
-JAVA=java
+if [ ! $JAVA ]; then
+ JAVA=java
+fi
JAR_HOME=/usr/share/java