Closed hirenchauhan2 closed 6 years ago
you can run dir . store download
in c:\jvms
and show the result?
I can see that it downloads the JDK zip file, but it fails to extract it in the C:\Program Files\jdk
. and if there is not jdk
folder in C:\Program Files\
, it does not even create that folder, even when the cmd is running with admin permission.
It seems that the zip file is unpacked error。 you can try this manual:
1.8.0_31.zip
to 1.8.0_31
1.8.0_31
folder to c:\jvms\store\
jvms ls && jvms switch 1.8.0_31
jvms will do this:
jvms ls
show the folder in jvms\store
jvms switch xxx
is create a Symbolic link in C:\Program Files\jdk
target is jvms\store\xxx
Thank you @ystyle, this worked! 💯 👍
OS: Windows 10 CMD as Administrator