Technical requirements
Here is the minimal Java JRE/JDK setup guide for macOS, Windows, and Linux. You can follow these steps:
- Download the desired version of Java JRE or JDK from the official Oracle website: https://www.oracle.com/java/technologies/javase-downloads.html.
- Choose the appropriate version and operating system to download.
- Install Java on your system:
- macOS:
- Double-click the downloaded
.
dmg
file. - Follow the installation wizard and accept the license agreement.
- Drag and drop the Java icon into the Applications folder.
- Double-click the downloaded
- Windows:
- Run the downloaded executable (
.
exe
) file. - Follow the installation wizard and accept the license agreement.
- Choose the installation directory and complete the installation.
- Run the downloaded executable (
- Linux:
- Extract the downloaded
.tar.gz
archive to a directory of your choice.
- Extract the downloaded
For system-wide installation, move the extracted directory to
/usr/local/java
. - macOS:
- Set the environment variables:
- macOS and Linux:
- Open the terminal.
- Edit the
~/.bash_profile
or~/.bashrc
file (depending...
- macOS and Linux: