About 28,100,000 results
Open links in new tab
  1. 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.

  2. Java Versions and Compatibility - Stack Overflow

    Apr 10, 2023 · A Java Runtime Environment (JRE) is an implementation of the Java SE specifications, a complete Java platform, with all the software you need to execute an app written in a JVM …

  3. 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. Program will exit.

  4. List of Java class file format major version numbers?

    The latest published version of the JVM spec can be found here (including some previous versions) Minor Version Number Chapter 4 of JVM (see link above): For a class file whose major_version is 56 …

  5. "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 already …

  6. Specifying Java version in maven - Stack Overflow

    Explains the differences between using properties and compiler plugin for specifying Java version in Maven.

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

    cmd: java -version And it says: java version "1.3.1_01" But it should say 1.6.0_16, since I have installed the latest version. What should I do to make Java use the latest version instead of the old one?

  8. java - how to check the jdk version used to compile a .class file ...

    The project uses Java 1.7. If I check inside of the MANIFEST.MF of amazon sdk it says Build-Jdk: 1.8.0_111 , but if I use javap -verbose MyClass | grep "major" it says major version: 50 which means …

  9. How do I find where JDK is installed on my windows machine?

    Jan 13, 2011 · I need to know where JDK is located on my machine. On running Java -version in cmd, it shows the version as '1.6.xx'. To find the location of this SDK on my machine I tried using echo …

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

    Apr 7, 2010 · java.version is a system property that exists in every JVM. There are two possible formats for it: Java 8 or lower: 1.6.0_23, 1.7.0, 1.7.0_80, 1.8.0_211 Java 9 or higher: 9.0.1, 11.0.4, 12, 12.0.1 …