summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-10-18 02:42:04 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-10-18 02:42:04 +0000
commit0b2143107d81024ba01f62dbba67b423b57288bd (patch)
treededc9bd4b6dc1c2f0375f8616ff50556f08ca21c /java
parentUpdate to 4.9 (and unbreak) (diff)
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>
Diffstat (limited to 'java')
-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" $@