

The JAVA_HOME is an environment variable. Global environment variables: These variables are accessible by everyone on the system.Only the specific user can use them in their sessions. Local environment variables: These variables are set on a per-user basis.The info can be about how apps run on the environment, different system behaviors, etc.ĭepending on the accessibility of the variables, we can divide them into 2 categories. In Linux, environment variables hold various system info available to apps. So, you don’t have to install JRE separately if you already have JDK installed. Note that JDK comes bundled with JRE by default. It’s a must-have to run any Java program on the system. JRE stands for “Java Runtime Environment.” This package contains the tools and libraries needed to run a Java application. If you’re interested in learning or working on a Java project, JDK is the option to choose. JDK stands for “Java Development Kit.” It contains the necessary tools and libraries to build and run (using JRE) Java apps. If you’re interested in Java, you are probably already familiar with them. Prerequisitesīefore diving deeper, let’s quickly refresh on various concepts and keywords.

In this guide, we’ll showcase one of the basic and crucial steps of configuring Java on your system – setting up the JAVA_HOME environment variable in Linux. It easily ranks among the top programming languages and is likely to remain so for at least a decade. You will find Java everywhere – banking, financial services, big data, stock market, mobile (Android), and more. Originally released by Sun Microsystems in 1995, Java is a cross-platform language that is now a part of almost every aspect of technology.

Java is one of the most influential and popular programming languages.
