About 211,000 results
Open links in new tab
  1. java - How to know the jdk version on my machine? - Stack Overflow

    Feb 16, 2023 · Seems like java -version used to be a way to do this, but no longer. Adding to the complexity, you can also supposedly get your Java version info from Control Panel > …

  2. java - Switch JDK version in Windows 10 cmd - Stack Overflow

    Nov 24, 2017 · Suppose I need to change java version to 8, then i change the key value of JAVA_HOME. i.e, JAVA_HOME renamed to JAVA_HOME_11 and JAVA_HOME_8 renames …

  3. "java -version"in cmd gives no result - Stack Overflow

    Dec 17, 2020 · Move C:\Program Files\Java\jdk-14.0.2\bin\java to the beginning in the PATH variable. Important - Open a new cmd window and use the command java -version. Any …

  4. "java -version" not working in command prompt - Stack Overflow

    Oct 3, 2013 · I might not have installed the right version. I need the java that works with grails. C:\>java 'java' is not recognized as an internal or external command, operable program or …

  5. java - Switching between different JDK versions in Windows

    Nov 18, 2014 · Save this batch file as SJV.bat and add this file location in your machine's Path environment variable. So now SJV will act as command to "Switch Java Version". Now open …

  6. Java version does not change in windows command prompt

    2. Type cmd and hit enter 3. Type java -version (Just to check if the version is the old one which we need to change) 4. Now try changing the path/classpath using set path=/classpath= 5. Now …

  7. java -version and javac -version showing different versions

    Aug 1, 2014 · I couldn't leave the trail of java-1.8.0, but I have installed java 17 and want java "17", so, I placed java 17 bin path in the first place (top most ) of path variables, Home variable …

  8. cmd - Different Java version showing on command line - Stack …

    Dec 6, 2012 · I have recently checked on my Java version. I ran the command java -version and I found out that I was using java version 1.7.0_09. But when I tried to check on C:\Program …

  9. 'Java' is not recognized as an internal or external command

    I opened a new command prompt in Windows 10 after updating the environment variables without closing the old one(To have my commands handy and lazy to type again) Still, the new cmd …

  10. regex - How to get java version using single command in …

    Jan 21, 2015 · I need to fetch java version 1.6.0_26 from the below java -version output. java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) …

Refresh