From ef15d6fbf22ba0a20e68101c45b86ba686837794 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Mon, 22 Jun 2020 09:21:28 +0200 Subject: [PATCH] Remove Java 11 nashorn.args They cause issues when used with Java 8. Fixes https://github.com/openhab/openhab-addons/issues/7880 Signed-off-by: Wouter Born --- distributions/openhab/src/main/resources/bin/setenv | 1 - distributions/openhab/src/main/resources/bin/setenv.bat | 1 - 2 files changed, 2 deletions(-) diff --git a/distributions/openhab/src/main/resources/bin/setenv b/distributions/openhab/src/main/resources/bin/setenv index 01624b42dc..d5be2f3ad5 100755 --- a/distributions/openhab/src/main/resources/bin/setenv +++ b/distributions/openhab/src/main/resources/bin/setenv @@ -100,7 +100,6 @@ export JAVA_OPTS="${JAVA_OPTS} -Djava.library.path=${OPENHAB_USERDATA}/tmp/lib -Djetty.host=${HTTP_ADDRESS} -Djetty.http.compliance=RFC2616 - -Dnashorn.args=--no-deprecation-warning -Dorg.ops4j.pax.web.listening.addresses=${HTTP_ADDRESS} -Dorg.osgi.service.http.port=${HTTP_PORT} -Dorg.osgi.service.http.port.secure=${HTTPS_PORT}" diff --git a/distributions/openhab/src/main/resources/bin/setenv.bat b/distributions/openhab/src/main/resources/bin/setenv.bat index b0f4265360..5174a6dbe1 100644 --- a/distributions/openhab/src/main/resources/bin/setenv.bat +++ b/distributions/openhab/src/main/resources/bin/setenv.bat @@ -114,7 +114,6 @@ set JAVA_OPTS=%JAVA_OPTS% ^ -Djava.library.path=%OPENHAB_USERDATA%\tmp\lib ^ -Djetty.host=%HTTP_ADDRESS% ^ -Djetty.http.compliance=RFC2616 ^ - -Dnashorn.args=--no-deprecation-warning ^ -Dorg.ops4j.pax.web.listening.addresses=%HTTP_ADDRESS% ^ -Dorg.osgi.service.http.port=%HTTP_PORT% ^ -Dorg.osgi.service.http.port.secure=%HTTPS_PORT%