Open V1rtu0l opened 2 years ago
I did not reproduce the problem, You can see if the target pointed to by C:\Program Files\jdk has changed
Hello, I had the same issue.
That is when I got the same error as described in above comments.
Running terminal as administrator and playing with jvms commands seem to work just fine. But when I run java -version
I always got the one specific version.
Open windows environment variables, go to system "Path" variable and make sure that "C:/Program Files (x86)/jdk/bin "C:/Program Files/jvms are listed before any other entry that has to do with java (oracle Java installer created its own entries for java here and listed them on top of the Path list)
I hope this helps and works also for you.