ystyle / jvms

JDK Version Manager (JVMS) for Windows
MIT License
551 stars 61 forks source link

switch as normal user failed #43

Open LeiYangGH opened 6 months ago

LeiYangGH commented 6 months ago

In the readme you talked a lot about how you bypass the nuc issue. but I cannot switch as normal user.

PS C:\Users\yang.lei> java --version
java 11.0.8 2020-07-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode)
PS C:\Users\yang.lei> jvms switch 17.0.6
set Environment variable `JAVA_HOME` failure: Please run as admin user
PS C:\Users\yang.lei>
ystyle commented 6 months ago

Sorry, the current version does not support normal users. The readme is left over from an earlier version. I may find time to modify the readme again.

LeiYangGH commented 6 months ago

why higher version require admin again?