Java Platform Overview
Overview
In this tutorial, we will discuss the Java platform. An overview of the Java platform to clear the confusion with important terminology. Often, novice testers get confused about the keywords of the Java Platform.
Java Editions
Different Java Platform Editions:
https://www.testingdocs.com/java-platform-editions/
Java SE Components
High level Java SE components are
- Java Development Kit (JDK)
- Java Run-time Environment (JRE)
- Java Virtual Machine (JVM)
JDK( Java Development Kit )
The JDK is the superset. It includes the Java Run-time Environment ( JRE ), the Java compiler, debugger, and Java APIs. The JDK is a development environment for building Java applications using the Java Programming Language. JDK contains everything that will be required to develop and run a Java application. It contains the JRE and development tools like compiler (javac), Java application launcher (java.exe), java debugger, etc.
Steps to install JDK:
https://www.testingdocs.com/download-and-installing-java-jdk/
JRE( Java Run-time Environment )
The Java Run-time Environment, also known as Java Run-time, is part of the Java Development Kit (JDK), a set of programming tools for developing Java applications. The Java Run-time Environment provides the minimum requirements for executing a Java application; it consists of the Java Virtual Machine (JVM), core classes, and supporting files.
JVM( Java Virtual Machine )
JVM is a virtual machine. It is responsible for converting the bytecode into machine language and executing the Java program. It performs the following operations. (http://www.testingdocs.com/java-virtual-machine/ )
In addition, JVM is a virtual machine that works on top of your operating system to provide a recommended environment for the compiled Java code. JVM only works with bytecode. Therefore, we need to compile the java application(.java) so that it can be converted to bytecode format ( .class file). Which then will be used by JVM to run the Java application.
—
Java Tutorials
https://www.testingdocs.com/java-tutorial/
For more information on Java, visit the official website :