Skip to content

Commit

Permalink
Move tools to the end of classpath to not alter load order
Browse files Browse the repository at this point in the history
  • Loading branch information
klaren committed Jan 4, 2018
1 parent 68add47 commit ddf832f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ build_classpath() {
# augment with tools.jar, will need JDK
JAVA_TOOLS="${JAVA_HOME}/lib/tools.jar"
if [ -e $JAVA_TOOLS ]; then
CLASSPATH="${JAVA_TOOLS}:${CLASSPATH}"
CLASSPATH="${CLASSPATH}:${JAVA_TOOLS}"
fi
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build_classpath() {
# augment with tools.jar, will need JDK
JAVA_TOOLS="${JAVA_HOME}/lib/tools.jar"
if [ -e $JAVA_TOOLS ]; then
CLASSPATH="${JAVA_TOOLS}:${CLASSPATH}"
CLASSPATH="${CLASSPATH}:${JAVA_TOOLS}"
fi
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build_classpath() {
# augment with tools.jar, will need JDK
JAVA_TOOLS="${JAVA_HOME}/lib/tools.jar"
if [ -e $JAVA_TOOLS ]; then
CLASSPATH="${JAVA_TOOLS}:${CLASSPATH}"
CLASSPATH="${CLASSPATH}:${JAVA_TOOLS}"
fi
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build_classpath() {
# augment with tools.jar, will need JDK
JAVA_TOOLS="${JAVA_HOME}/lib/tools.jar"
if [ -e $JAVA_TOOLS ]; then
CLASSPATH="${JAVA_TOOLS}:${CLASSPATH}"
CLASSPATH="${CLASSPATH}:${JAVA_TOOLS}"
fi
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ build_classpath() {
# augment with tools.jar, will need JDK
JAVA_TOOLS="${JAVA_HOME}/lib/tools.jar"
if [ -e $JAVA_TOOLS ]; then
CLASSPATH="${JAVA_TOOLS}:${CLASSPATH}"
CLASSPATH="${CLASSPATH}:${JAVA_TOOLS}"
fi
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build_classpath() {
# augment with tools.jar, will need JDK
JAVA_TOOLS="${JAVA_HOME}/lib/tools.jar"
if [ -e $JAVA_TOOLS ]; then
CLASSPATH="${JAVA_TOOLS}:${CLASSPATH}"
CLASSPATH="${CLASSPATH}:${JAVA_TOOLS}"
fi
}

Expand Down

0 comments on commit ddf832f

Please sign in to comment.