You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running your test with JAVA_TOOL_OPTIONS instead of JDK_JAVA_OPTIONS seems to prevent this from happening:
docker run --rm -it -v $(pwd)/Test.java:/Test.java:Z -e JAVA_TOOL_OPTIONS="-Dsomehow=duplicated" eclipse-temurin:17-jdk-alpine java Test.java
Picked up JAVA_TOOL_OPTIONS: -Dsomehow=duplicated
Should pick once
When using the JDK_JAVA_OPTIONS environment variable it's picked up twice.
Visible also by running an app in the background and doing
Also visible from JMX.
The text was updated successfully, but these errors were encountered: