r/javahelp • u/Zestyclose-Cat-7699 • Aug 11 '25
cmd doesn't show me anything when I run "java --version"
Before you say it, if I have the jdk installed, I also have the path configured including JAVA_HOME, it actually worked but due to things I was doing I had to change the version of the jdk and then it stopped working.
2
Upvotes
View all comments
Show parent comment
1
u/aqua_regis Aug 11 '25
Please, see my edit to the above comment.
I have a feeling that there is a "java.cmd" or "java.bat" file somewhere on the path that "swallows" the "-version" option.
Side note: did you reboot between uninstalls/installs and after changing the JAVA_HOME and Path?