2010-11-04 02:46:38 +07:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
if [ $JAVA_HOME ]; then
|
|
|
|
JAVA=$JAVA_HOME/bin/java
|
|
|
|
else
|
|
|
|
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 JDK.
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo ===================================
|
|
|
|
echo Starting Adempiere Server
|
|
|
|
echo ===================================
|
|
|
|
|
2011-05-10 11:40:13 +07:00
|
|
|
$JAVA -Dosgi.compatibility.bootdelegation=true -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -XX:MaxPermSize=192m -jar plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar -console -application org.adempiere.server.application
|