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
> cs java --jvm adoptium:1.17.0.10 --setup
Checking if the JAVA_HOME, PATH user environment variable(s) need(s) updating.
Some global environment variables were updated. It is recommended to close this terminal once the setup command is done, and open a new one for the changes to be taken into account.
> cs java --jvm adoptium:1.17 --setup
Checking if the JAVA_HOME, PATH user environment variable(s) need(s) updating.
Some global environment variables were updated. It is recommended to close this terminal once the setup command is done, and open a new one for the changes to be taken into account.
> cs java --jvm adoptium:1.11.0.22 --setup
Checking if the JAVA_HOME, PATH user environment variable(s) need(s) updating.
Some global environment variables were updated. It is recommended to close this terminal once the setup command is done, and open a new one for the changes to be taken into account.
The Java home environment variable is correctly set to the last one (Java 11):
If I setup multiple default JVM versions as:
The Java home environment variable is correctly set to the last one (Java 11):
But the one that is called is the first one (Java 17):
The problem is that the paths are aggregated and the first one takes precedence:
Maybe, instead of aggregating, we should just add once
%JAVA_HOME%/bin
. Whenever JAVA_HOME changes, the path will too.The text was updated successfully, but these errors were encountered: