IDEMPIERE-3451 IDEMPIERE_JAVA_OPTIONS property not work - improvement suggested by Silvano (freepath)

This commit is contained in:
Carlos Ruiz 2017-12-06 16:22:05 +01:00
parent 35d6fbc1b4
commit d6f2de3d7d
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,6 @@
@Echo off @Echo off
CALL utils\myEnvironment.bat Server
@if not "%JAVA_HOME%" == "" goto JAVA_HOME_OK @if not "%JAVA_HOME%" == "" goto JAVA_HOME_OK
@Set JAVA=java @Set JAVA=java
@ -17,8 +18,6 @@ goto START
@Echo Starting iDempiere Server ... @Echo Starting iDempiere Server ...
@Echo ======================================= @Echo =======================================
CALL utils\myEnvironment.bat Server
FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c FOR %%c in (plugins\org.eclipse.equinox.launcher_1.*.jar) DO set JARFILE=%%c
@Set VMOPTS=-Xbootclasspath/p:alpn-boot.jar @Set VMOPTS=-Xbootclasspath/p:alpn-boot.jar

View File

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
# #
unset DISPLAY
BASE=`dirname $( readlink -f $0 )`
. $BASE/utils/myEnvironment.sh Server
if [ $JAVA_HOME ]; then if [ $JAVA_HOME ]; then
JAVA=$JAVA_HOME/bin/java JAVA=$JAVA_HOME/bin/java
else else
@ -17,9 +20,6 @@ echo ===================================
echo Starting iDempiere Server echo Starting iDempiere Server
echo =================================== echo ===================================
unset DISPLAY
BASE=`dirname $( readlink -f $0 )`
. $BASE/utils/myEnvironment.sh Server
VMOPTS="-Xbootclasspath/p:alpn-boot.jar VMOPTS="-Xbootclasspath/p:alpn-boot.jar
-Dorg.osgi.framework.bootdelegation=sun.security.ssl,org.eclipse.jetty.alpn -Dorg.osgi.framework.bootdelegation=sun.security.ssl,org.eclipse.jetty.alpn