![]() The JDK and JRE versions can be different on the same computer. OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) In the below example, the JRE version is 1.8.0_252: $ java -version Similarly, we can use java -version to find out the version of the installed JRE. In the below example, the JDK version is 11.0.7: $ javac -version ![]() Check JDK VersionĪ common way to check JDK version is by using the following simple command to find out the version of the installed JDK. class to machine code, and execute it, in short, the JRE runs Java program. The Java development kit (JDK) contains tools for Java development, and the Java Runtime Environment (JRE) contains a JVM to convert byte code. ![]() However, developers often request to install the JDK, instead of the standalone JRE on the production server, because the JDK contains JRE and also extra tools to monitor and debug the running Java program. For the production environment, the deployment team only need to install JRE to run the Java program. Firts of all, for end-users, they need to install JRE to run the Java program, and the JDK is for developers.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |