Created
August 23, 2016 20:29
-
-
Save fommil/deed8e3055a092b8f62aa2133ee2b9fc to your computer and use it in GitHub Desktop.
sbt windows
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
@ECHO OFF | |
SETLOCAL EnableDelayedExpansion | |
IF DEFINED JAVA_HOMES ( | |
IF EXIST .java-version FOR /F %%A IN (.java-version) DO ( | |
SET JAVA_HOME=%JAVA_HOMES%\%%A | |
SET JDK_HOME=%JAVA_HOMES%\%%A | |
) | |
) | |
IF DEFINED JAVA_HOME SET PATH=%JAVA_HOME%\bin;%PATH% | |
IF EXIST .jvmopts FOR /F %%A IN (.jvmopts) DO ( | |
SET JVM_OPTS=%%A !JVM_OPTS! | |
) | |
... | |
ENDLOCAL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment