Skip to content
Snippets Groups Projects
Commit 0739d2e6 authored by Reiner Jung's avatar Reiner Jung
Browse files

Debugging scripts.

parent a1ca5dcf
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,8 @@ MAIN_DIR="${BASE_DIR}/../.." ...@@ -12,8 +12,8 @@ MAIN_DIR="${BASE_DIR}/../.."
# Hotfix for ASPECTJ # Hotfix for ASPECTJ
# https://stackoverflow.com/questions/70411097/instrument-java-17-with-aspectj # https://stackoverflow.com/questions/70411097/instrument-java-17-with-aspectj
JAVA_VERSION=$(java -version 2>&1 | grep -o 'version "[0-9]*' | sed 's/.*"\([0-9]*\)/\1/g') JAVA_VERSION=$(java -version 2>&1 | grep -o 'version "[0-9]*' | sed 's/.*"\([0-9]*\)/\1/g')
if [ "${JAVA_VERSION}" != "8" ] echo $JAVA_VERSION
then if [ "${JAVA_VERSION}" != "8" ] ; then
export JAVA_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" export JAVA_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED"
echo "Setting \$JAVA_OPTS, since Java version is bigger than 8" echo "Setting \$JAVA_OPTS, since Java version is bigger than 8"
fi fi
......
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