-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
OLD_JAVA_HOME=$JAVA_HOME | ||
SCRIPT_DIRECTORY=`readlink -f "$(dirname "$0")"` | ||
export JAVA_HOME=$SCRIPT_DIRECTORY/jdk8u212-b03-jre | ||
export JAVA_HOME=$SCRIPT_DIRECTORY/jdk8u242-b08-jre | ||
"$JAVA_HOME/bin/java" -DLAUNCHER_JAVA_PATH="$JAVA_HOME/bin/java" -jar "$SCRIPT_DIRECTORY/libs/admin.jar" | ||
export JAVA_HOME=$OLD_JAVA_HOME | ||
export JAVA_HOME=$OLD_JAVA_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/zsh | ||
OLD_JAVA_HOME=$JAVA_HOME | ||
SCRIPT_DIRECTORY=${0:A:h} | ||
export JAVA_HOME=$SCRIPT_DIRECTORY/jdk8u212-b03-jre/Contents/Home | ||
export JAVA_HOME=$SCRIPT_DIRECTORY/jdk8u242-b08-jre/Contents/Home | ||
"$JAVA_HOME/bin/java" -DLAUNCHER_JAVA_PATH="$JAVA_HOME/bin/java" -jar "$SCRIPT_DIRECTORY/libs/admin.jar" | ||
export JAVA_HOME=$OLD_JAVA_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
@echo off | ||
set OLD_JAVA_HOME=%JAVA_HOME% | ||
set BAT_DIRECTORY=%~dp0 | ||
set JAVA_HOME=%BAT_DIRECTORY%jdk8u212-b03-jre | ||
set JAVA_HOME=%BAT_DIRECTORY%jdk8u242-b08-jre | ||
start "Admin console launcher" /D "%BAT_DIRECTORY%\libs" "%JAVA_HOME%\bin\javaw" -DLAUNCHER_JAVA_PATH="%JAVA_HOME%\bin\java" -jar admin.jar | ||
set JAVA_HOME=%OLD_JAVA_HOME% | ||
set OLD_JAVA_HOME= | ||
set OLD_JAVA_HOME= |