The environment is an area that the shell builds every time that it starts a session that contains variables that define system properties.
In this guide, we will discuss how to interact with the environment and read or set environmental and shell variables interactively and through configuration files.
Maven is written in Java (and primarily used for building JVM programs). Once Java is installed, you must ensure that the commands from the Java JDK are in your PATH environment variable.
Running, for example: must display the right version number. It should display the Maven version, the java version, and the operating system information.
The environment is implemented as strings that represent key-value pairs.