About 12,100,000 results
Open links in new tab
  1. java --version doesn't work in the command line - Stack Overflow

    Jul 18, 2012 · I tried java --version in the command line and I get : Unrecognized option: --version Error: Could not create the Java virtual machine Error: A fatal exception has occurred. …

  2. java - How to know the jdk version on my machine? - Stack Overflow

    Java Runtime JRE and the Java development kit JDK are two separate things. If you want to check the version of the Java compiler used within your local JDK use javac -version.

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

    Dec 17, 2020 · 19 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 Versions and Compatibility - Stack Overflow

    Apr 10, 2023 · A later version of Java and its compiler will be using features that did not exist in those earlier versions. So, of course, older runtimes cannot execute later apps. 👉🏽 If you compile …

  5. How to set the environment variables for Java in Windows

    Step 5: Enter the Variable name as JAVA_HOME and the value to your jdk bin path ie c:\Programfiles\Java\jdk-1.6\bin and NOTE Make sure u start with .; in the Value so that it …

  6. java - Which JRE am I using? - Stack Overflow

    Dec 12, 2011 · There are two varieties of JRE available. Java VM: IBM vs. Sun. Is there a way to know which JRE I am using through JavaScript or some Java issued command.

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

    When trying to check the current version of Java in which I am running, I received the error "java is not recognized as an internal or external command, operable program or batch file.".

  8. Why does java -version return an old version? - Stack Overflow

    OS: Windows XP I am using yuicompressor-2.4.2 to compress some CSS before uploading to my server. But when I run it, the following exception appears: Exception in thread "main" java.lang.

  9. jvm - Getting Java version at runtime - Stack Overflow

    Apr 7, 2010 · " java.version system property" Version 1.6.0 Used by Developers "Java SE keeps the version number 1.6.0 (or 1.6) in some places that are visible only to developers, or where …

  10. How to config java version in Visual Studio Code?

    Jul 28, 2022 · 6 I installed OpenJDK 18 in my Fedora 36 and installed "Extension Pack for Java" on my Visual Studio Code. In my machine, there have 3 versions of java: But when I create a …