Programming

Java Playground

Get access to the Java playground with one click

What is Java?

Java is one of the most popular programming languages in the world. It is used to develop apps, process huge amounts of data, etc. Many frameworks such as Apache Spark, Eclipse IDE, Google Android API, etc support Java. Java comes in 4 editions - 

  • Java Standard Edition (SE) - It is the foundation of the Java programming language. It provides the basic functionality to run any Java program.  
  • Java Enterprise Edition (EE) - It extends Java SE with additional features useful for commercial apps.
  • Java Micro Edition (ME) - This edition provides an optimized virtual machine that can be used to run Java apps on less powerful hardware such as Internet of Things (IoT) devices.
  • JavaFX - It creates rich internet apps that use hardware-accelerated graphics and media engines.

Components of Java

There are three primary components of Java:

  • Java Virtual Machine (JVM)
    One of the main features of Java is portability. The same code can run on different machines and operating systems. This is possible because of the Java Virtual Machine. Java code runs inside it and it's converted into native machine code that can run on the specific hardware it runs on.
  • Java Runtime Environment (JRE)
    JVM is a part of the Java Runtime Environment. JRE includes all the necessary libraries that are required to run the Java code. It communicates with the operating system to run the program.
  • Java Development Kit (JDK)
    JDK includes all of the above, and additional tools that help in developing Java applications.

Get started with Java playground

This playground helps you get started with Java in less than 2 minutes. Write, compile, run Java code without having to set up your own development environment.