mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
8 lines
No EOL
358 B
Batchfile
8 lines
No EOL
358 B
Batchfile
@ECHO OFF
|
|
IF NOT EXIST "C:\Program Files\Java\jre6" GOTO NOJAVADIR
|
|
set JAVA_HOME="C:\Program Files\Java\jre6"
|
|
set CLASSPATH=%JAVA_HOME%/bin;%CLASSPATH%
|
|
set PATH=%JAVA_HOME%/bin;%PATH%
|
|
:NOJAVADIR
|
|
java -Djava.security.policy=./config/security.policy -Djava.util.logging.config.file=./config/logging.config -jar ./Mage-Server-${project.version}.jar
|
|
pause |