summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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