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

View File

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