added additional scripts for Win 7 and MacOs. added "how to start" instructions.

This commit is contained in:
magenoxx 2011-10-28 11:40:39 +04:00
parent e302a12f5d
commit 490b95bcc6
5 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,5 @@
use .exe or one of the scripts:
startClient.bat - for Windows
startClientWin7.bat - for Windows 7
startClient.sh - for Linux
startClient.command - for MacOS

View file

@ -0,0 +1,5 @@
#!/bin/sh
cd "`dirname "$0"`"
java -jar ./lib/Mage-Client-0.8.jar -Xms256M -Xmx1024M &

View file

@ -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
start javaw -jar .\lib\Mage-Client-${project.version}.jar -Xms256M -Xmx1024M

View file

@ -0,0 +1,4 @@
use .exe or one of the scripts:
startServer.bat - for Windows
startServer.sh - for Linux
startServer.command - for MacOS

View file

@ -0,0 +1,5 @@
#!/bin/sh
cd "`dirname "$0"`"
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-0.8.jar