From 3efed0205cd0b78a2342534d22d665d129f63ad7 Mon Sep 17 00:00:00 2001 From: Per Cederberg Date: Tue, 14 Jan 2025 19:05:24 +0100 Subject: [PATCH] build: Removed unnecessary file.encoding property (default is UTF-8) --- bin/rapidcontext | 3 +-- bin/rapidcontext.bat | 1 - share/docker/Dockerfile | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/rapidcontext b/bin/rapidcontext index 15610075..755db053 100755 --- a/bin/rapidcontext +++ b/bin/rapidcontext @@ -47,7 +47,7 @@ else fi done if [[ "$JAVA_HOME" == "" ]] ; then - echo "ERROR: Failed to find java version 1.4 or higher." >&2 + echo "ERROR: Failed to find java 21 or higher." >&2 exit 1 fi JAVA=$JAVA_HOME/bin/java @@ -66,7 +66,6 @@ LOGGING="lib/logging.properties" if [[ "$JAVA_TOOL_OPTIONS" == *DEBUG* ]] ; then LOGGING="lib/debug.properties" fi -JAVA_TOOL_OPTIONS="$JAVA_TOOL_OPTIONS -Dfile.encoding=UTF-8" JAVA_TOOL_OPTIONS="$JAVA_TOOL_OPTIONS -Djava.util.logging.config.file=$LOGGING" JAVA_TOOL_OPTIONS="$JAVA_TOOL_OPTIONS -Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000" JAVA_TOOL_OPTIONS="$JAVA_TOOL_OPTIONS --add-opens=java.base/java.net=ALL-UNNAMED" diff --git a/bin/rapidcontext.bat b/bin/rapidcontext.bat index 9559591c..74edf96c 100644 --- a/bin/rapidcontext.bat +++ b/bin/rapidcontext.bat @@ -17,7 +17,6 @@ set _CONF=lib\debug.properties ::Set options :CONFIG -set JAVA_TOOL_OPTIONS=%JAVA_TOOL_OPTIONS% -Dfile.encoding=UTF-8 set JAVA_TOOL_OPTIONS=%JAVA_TOOL_OPTIONS% -Djava.util.logging.config.file=%_CONF% set JAVA_TOOL_OPTIONS=%JAVA_TOOL_OPTIONS% -Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000 set JAVA_TOOL_OPTIONS=%JAVA_TOOL_OPTIONS% --add-opens=java.base/java.net=ALL-UNNAMED diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile index 5c0e2ce8..382b97af 100644 --- a/share/docker/Dockerfile +++ b/share/docker/Dockerfile @@ -13,7 +13,6 @@ WORKDIR /opt/rapidcontext/ # EXPOSE 80/tcp # VOLUME /opt/local ENV JAVA_TOOL_OPTIONS \ - -Dfile.encoding=UTF-8 \ -Djava.util.logging.config.file=lib/logging.properties \ -Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000 \ --add-opens=java.base/java.net=ALL-UNNAMED \