ystyle / jvms

JDK Version Manager (JVMS) for Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JDK is not installed even after the zip is downloaded, command not found

hirenchauhan2 opened this issue · comments

OS: Windows 10
CMD as Administrator

cmd-jvms

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.

2018-01-31_00-28-13

It seems that the zip file is unpacked error。
you can try this manual:

  1. extract 1.8.0_31.zip to 1.8.0_31
  2. cut 1.8.0_31 folder to c:\jvms\store\
  3. run 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! 💯 👍