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>
This commit is contained in:
Herve Quiroz
2005-10-18 02:42:04 +00:00
parent 99e7de66e3
commit 0b2143107d

View File

@@ -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" $@