diff --git a/Mage.Server/release/startServerWin7.bat b/Mage.Server/release/startServerWin7.bat new file mode 100644 index 0000000000..530862dd22 --- /dev/null +++ b/Mage.Server/release/startServerWin7.bat @@ -0,0 +1,7 @@ +@ECHO OFF +IF NOT EXIST "C:\Program Files (x86)\Java\jre6\bin\" GOTO NOJAVADIR +set JAVA_HOME="C:\Program Files (x86)\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 -Dlog4j.configuration=file:./config/log4j.properties -jar ./lib/mage-server-${project.version}.jar -Xms256M -Xmx512M \ No newline at end of file