Installation of Java
2. Installation of Java
2.1. Recommended Java version
It is recommended to use last least the latest long-term release version of Java. Currently this is Java 11.
2.2. Check installation
To run Java programs, you:
must have the Java runtime environment (JRE) installed
the Java executables must be available in your path environment
You can test if the JRE is correctly installed via a console. To open a console on Windows: Win+R, enter cmdand press Enter). Now type in the following command:
java -version
If the JRE is correctly installed, this commands prints information about your Java installation. In this case you can skip the Java installation description.
If the command line returns the information that the program could not be found, you have to install Java.
2.3. Install Java
For Microsofts Windows, Oracle provides a native installer which can be found on the Java website. It contains instructions how to install Java for all supported platforms.
Install Java on Ubuntu On Ubuntu you can install Java 11 via the following command on the command line. These commands might change over time, if they do not work anymore please Google for the installation.
|
2.4. Installation problems and other operating systems
If you have problems installing Java on your system, search via Google for How to install JDK on YOUR OS. Of course, replace YOUR OS
with your operating system, e.g., Windows, Ubuntu, Mac OS X, etc. This should result in helpful links.
Comments
Post a Comment