ystyle / jvms

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

I can't init the .exe #46

Open EmanuEst opened 1 month ago

EmanuEst commented 1 month ago

Well, I was excited about the project, however, when following the step by step, I was unable to initialize jvms.exe. Even opening cmd with administrative permissions, when I go to the folder where I extracted the .exe and run it with the "init" command, the terminal returns "set Environment variable JAVA_HOME failure: Please run as admin user", and already I have JAVA_HOME set and ran the Command Prompt as admin imagem_2024-07-19_203217019

vartija commented 1 month ago

In my case I was missing %SystemRoot%\system32 from path on my new win11 pc. It's hard to tell what's wrong since error gets eaten. https://stackoverflow.com/questions/32035577/cmd-is-not-recognized-as-an-internal-or-external-command-operable-program-or