aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-10-18 10:42:04 +0800
committerhq <hq@FreeBSD.org>2005-10-18 10:42:04 +0800
commit0c18abe5e0df44ba1e7617dde41f732221320d2b (patch)
treeba479dd80049133ef0424678c942364d627cc5ef
parent4b3a6d148c6a108699b20499ae37140711930465 (diff)
downloadfreebsd-ports-gnome-0c18abe5e0df44ba1e7617dde41f732221320d2b.tar.gz
freebsd-ports-gnome-0c18abe5e0df44ba1e7617dde41f732221320d2b.tar.zst
freebsd-ports-gnome-0c18abe5e0df44ba1e7617dde41f732221320d2b.zip
Fix javavmwrapper support added in last commit: the launcher now enforces
JAVA_VERSION and JAVA_OS values so that no wrong JDK can be picked up by javavm(1). PR: 86860 Discussed with: Panagiotis Astithas <past@ebs.gr>
-rw-r--r--java/eclipse/files/eclipse.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/eclipse/files/eclipse.in b/java/eclipse/files/eclipse.in
index 815da2c79353..251e7a375b20 100644
--- a/java/eclipse/files/eclipse.in
+++ b/java/eclipse/files/eclipse.in
@@ -46,4 +46,4 @@ if [ ! -x "${ECLIPSE_HOME}/eclipse" ]; then
exit 1
fi
-PATH=${JAVA_HOME}/bin:$PATH exec "${ECLIPSE_HOME}/eclipse" $@
+JAVA_VERSION="%%JAVA_VERSION%%" JAVA_OS="%%JAVA_OS%%" PATH=${JAVA_HOME}/bin:${PATH} exec "${ECLIPSE_HOME}/eclipse" $@