mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
12 lines
No EOL
540 B
Batchfile
12 lines
No EOL
540 B
Batchfile
@ECHO OFF
|
|
IF NOT EXIST "C:\Program Files\Java\jre6" GOTO JAVA7
|
|
set JAVA_HOME="C:\Program Files\Java\jre6"
|
|
set CLASSPATH=%JAVA_HOME%/bin;%CLASSPATH%
|
|
set PATH=%JAVA_HOME%/bin;%PATH%
|
|
:JAVA7
|
|
IF NOT EXIST "C:\Program Files\Java\jre7\bin\" GOTO NOJAVADIR
|
|
set JAVA_HOME="C:\Program Files\Java\jre7\"
|
|
set CLASSPATH=%JAVA_HOME%/bin;%CLASSPATH%
|
|
set PATH=%JAVA_HOME%/bin;%PATH%
|
|
:NOJAVADIR
|
|
start javaw -Xms256m -Xmx1024m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar .\lib\mage-client-${project.version}.jar |