

Starting from Java 11, Oracle changed the Java licensing policy that caused quite a commotion in the community and market. There are multiple JDKs available to choose from – OpenJDK, Oracle JDK, AdoptOpenJDK, etc. The JDK includes the JRE, an interpreter, a compiler, a documentation generator, and other tools.Īs the description suggests, JDK is necessary for developers working with Java. The JDK is the software development environment for developing Java apps and applets. The virtual environment is known as JVM (Java Virtual Machine).Īs long as a platform has a JRE built for it, it’s possible to run Java apps.įor general users, having JRE installed is more than enough. It’s the job of the JRE to create a virtual environment in which this bytecode will run. When compiled, a Java program is transformed into bytecodes.

One of the key concepts that make Java awesome is “write once run anywhere.” This is where JRE comes in. JDK and OpenJDKīefore jumping into the OpenJDK installation process, here’s a quick refresh of JRE versus JDK. In this guide, check out how to install OpenJDK on Fedora Linux. To build Java apps, developers need the JDK (Java Development Kit) that comes with all the essential tools. Java is everywhere – mobile apps, desktop programs, web applications, and enterprise systems. As a result, those packages have moved, and this will require changes to package imports.Java is a general-purpose programming language offering reliability, security, and compatibility.


The “var” keyword only affects local variables, and the Type Inference keeps you repeating the same text over and over again
