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:
@@ -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" $@
|
||||
|
||||
Reference in New Issue
Block a user