From 586b2f0315ea47697e14300ab5b66d96c0133b15 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Fri, 27 Jun 2008 10:53:19 +0000 Subject: midpath: Allow overriding the JAVA executable in start script --- packages/midpath/files/midpath-launcher-j2se | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/midpath/files') 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 -- cgit v1.2.3