ystyle / jvms

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

Can't switch to Java 1.8 #33

Closed pavliczandris closed 1 year ago

pavliczandris commented 1 year ago

Hi,

I recently downloaded the latest release of jvms (v2.1.3) and I installed 1.8.0_151. When I try to switch to that version, it says that version is not installed.

Looking briefly at the code, I found that it's looking for javac.exe to determine if the version exists or not, and that file is not present for this version.

Any workaround suggestion? Thanks in advance!

ystyle commented 1 year ago

try v2.1.4

pavliczandris commented 1 year ago

Thanks for the quick response!

I tried v2.1.4 now, and I started over with everything, and now I get an error while downloading: unzip failed: rename C:\Program Files\jvms\download\1.8.0_151_temp C:\Program Files\jvms\store\1.8.0_151: The system cannot find the file specified.

It happens with every other version I tried to install.

By the way, I'm using win 11.

ystyle commented 1 year ago

Erroneously delete the decompressed jdk file. Now delete the code, can you try again

pavliczandris commented 1 year ago

All good, thanks for the fixes!