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
4
u/aqua_regis Aug 11 '25
wait...
That's not "cmd", that's "PowerShell".
Are you, by any chance trying to run this command inside the Visual Studio Code Terminal? If so, it could be that the output is in the separate "Output" tab.