diff --git a/app-openbis-installer/resource/tarball/run-console.sh b/app-openbis-installer/resource/tarball/run-console.sh index 5b4f276ac28a37ddf89aa71981fd42cbd182a333..3eeace88997edbaa9464cb21e3177fc4fba4a555 100755 --- a/app-openbis-installer/resource/tarball/run-console.sh +++ b/app-openbis-installer/resource/tarball/run-console.sh @@ -84,4 +84,4 @@ else readAdminPassword 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 diff --git a/server-original-data-store/dist/datastore_server.sh b/server-original-data-store/dist/datastore_server.sh index 75d2f9ab13244f69f4120fbc0f18d708983a1589..697b97f22c6e2007d55ed732b7f1f1f0e255696a 100755 --- a/server-original-data-store/dist/datastore_server.sh +++ b/server-original-data-store/dist/datastore_server.sh @@ -165,7 +165,7 @@ JAVA_VERSION_OPTS="" if [[ "$version" != "1.8" ]]; then JAVA_VERSION_OPTS="--add-exports java.xml/jdk.xml.internal=ALL-UNNAMED" 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