Merge "Add $JAVA_HOME/bin to PATH"

This commit is contained in:
Jenkins 2015-09-08 09:47:26 +00:00 committed by Gerrit Code Review
commit bd64337f9d
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ JRE_HOME=$1
JDK_HOME=$2
echo "export JAVA_HOME=$JRE_HOME" >> $JAVA_RC
echo "export PATH=$JRE_HOME/bin:\$PATH" >> $JAVA_RC
chmod +x $JAVA_RC
echo "Setting up alternatives for Java"