We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_JAVA_OPTIONS
JAVA_TOOL_OPTIONS
1 parent 816c94e commit f7face0Copy full SHA for f7face0
bin/diktat
@@ -502,6 +502,7 @@ JAVA_ARGS+=('-Xmx512m')
502
JAVA_ARGS+=("-Duser.home=$(native_path "${PWD}")")
503
JAVA_ARGS+=("-Ddiktat.config.path=$(native_path "${CONFIG_FILE}")")
504
505
+unset _JAVA_OPTIONS JAVA_TOOL_OPTIONS
506
JAVA_VERSION=$("${JAVA}" -version 2>&1 | head -n1 | cut -d'"' -f2)
507
JAVA_MAJOR_VERSION=$(echo "${JAVA_VERSION}" | sed 's/^1\.//' | cut -d'.' -f1)
508
if (( JAVA_MAJOR_VERSION >= 17 ))
0 commit comments