2010-11-04 06:23:42 +07:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2012-12-13 05:52:58 +07:00
|
|
|
# script parameters are used as VM args. e.g.:
|
|
|
|
# ./adempiere-client.sh -DPropertyFile=/home/tbayen/idempiere-conf2.properties
|
|
|
|
# -- tbayen
|
|
|
|
|
2010-11-04 06:23:42 +07:00
|
|
|
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 Client
|
|
|
|
echo ===================================
|
|
|
|
|
2012-12-15 03:32:12 +07:00
|
|
|
$JAVA -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -Dosgi.compatibility.bootdelegation=true $@ -XX:MaxPermSize=192m -jar plugins/org.eclipse.equinox.launcher_ 1.*.jar -application org.adempiere.ui.swing.client
|