2010-11-04 02:46:38 +07:00
|
|
|
@Echo off
|
|
|
|
|
|
|
|
|
|
|
|
@if not "%JAVA_HOME%" == "" goto JAVA_HOME_OK
|
|
|
|
@Set JAVA=java
|
|
|
|
@Echo JAVA_HOME is not set.
|
|
|
|
@Echo You may not be able to start the server
|
|
|
|
@Echo Set JAVA_HOME to the directory of your local 1.6 JDK.
|
|
|
|
goto START
|
|
|
|
|
|
|
|
:JAVA_HOME_OK
|
|
|
|
@Set JAVA=%JAVA_HOME%\bin\java
|
|
|
|
|
|
|
|
|
|
|
|
:START
|
|
|
|
@Echo =======================================
|
2012-06-06 21:13:34 +07:00
|
|
|
@Echo Starting iDempiere Server ...
|
2010-11-04 02:46:38 +07:00
|
|
|
@Echo =======================================
|
|
|
|
|
2014-10-13 10:05:19 +07:00
|
|
|
@"%JAVA%" -Dosgi.console=localhost:12612 -Djetty.home=jettyhome -Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-selector.xml,etc/jetty-ssl.xml,etc/jetty-https.xml,etc/jetty-deployer.xml -XX:MaxPermSize=192m -jar plugins/org.eclipse.equinox.launcher_1.*.jar -application org.adempiere.server.application
|