Skip to content
Snippets Groups Projects
Commit b6feb58d authored by vkovtun's avatar vkovtun
Browse files

SSDM-13512: Setting for the installer -Djava.awt.headless=true to prevent...

SSDM-13512: Setting for the installer -Djava.awt.headless=true to prevent AWT-related problems to occur in some systems.
parent 32fcf88d
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -84,4 +84,4 @@ else ...@@ -84,4 +84,4 @@ else
readAdminPassword readAdminPassword
fi fi
java -Djava.util.logging.config.file=$BASE/jul.config -DADMIN_PASSWORD=$ADMIN_PASSWORD -DCONSOLE=true -Dmerge.props.to.installation.vars=true -cp $BASE/openBIS-installer.jar com.izforge.izpack.installer.bootstrap.Installer -options-auto $BASE/console.properties java -Djava.awt.headless=true -Djava.util.logging.config.file=$BASE/jul.config -DADMIN_PASSWORD=$ADMIN_PASSWORD -DCONSOLE=true -Dmerge.props.to.installation.vars=true -cp $BASE/openBIS-installer.jar com.izforge.izpack.installer.bootstrap.Installer -options-auto $BASE/console.properties
...@@ -165,7 +165,7 @@ JAVA_VERSION_OPTS="" ...@@ -165,7 +165,7 @@ JAVA_VERSION_OPTS=""
if [[ "$version" != "1.8" ]]; then if [[ "$version" != "1.8" ]]; then
JAVA_VERSION_OPTS="--add-exports java.xml/jdk.xml.internal=ALL-UNNAMED" JAVA_VERSION_OPTS="--add-exports java.xml/jdk.xml.internal=ALL-UNNAMED"
fi fi
COMMON_OPTIONS="${JAVA_OPTS} ${JAVA_MEM_OPTS} $JAVA_VERSION_OPTS -Dnative.libpath=$LIB_FOLDER/native -classpath $CP ch.systemsx.cisd.openbis.dss.generic.DataStoreServer" COMMON_OPTIONS="${JAVA_OPTS} ${JAVA_MEM_OPTS} $JAVA_VERSION_OPTS -Djava.awt.headless=true -Dnative.libpath=$LIB_FOLDER/native -classpath $CP ch.systemsx.cisd.openbis.dss.generic.DataStoreServer"
# ensure that we ignore a possible prefix "--" for any command # ensure that we ignore a possible prefix "--" for any command
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment