-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
- Windows OS, macOS or Linux with an ANSI-capable terminal emulator
- Java SE JDK 18 (OracleJDK or OpenJDK)
- Maven framework version 3.0 (or newer)
WARNING
If using Windows 10 or newer, the recommended terminal emulator is "Windows Terminal", obtainable by using this link.
- Download the compressed archive from Oracle or OpenJDK;
- Extract content from the zip folder to your preferred location (we recommend 7Zip to uncompress your files, but any un-compression software will do);
- Then go to
START -> Edit the system environment variables
; - In the
USER
section select thePath
variable and clickEdit
; - Select
New
and typeC:\Users\<your-user>\<path-to-extracted-folder-jdk>\bin
then save and exit; - Open Windows Terminal (also named just "Terminal") and verify your java version by typing the following command:
java -version
- If the version is the 18.0.1 or later, the installation has been successful
If something went wrong with the installation try again this or another method at this link.
- Download a compressed archive from the Apache Maven Project website and select a version to download (remember for this project Maven 3.0 or later is needed)
- Extract content from the zip folder to your preferred location (we recommend 7Zip to uncompress your files, but any un-compression software will do);
- Then go to
START -> Edit the system environment variables
; - In the
USER
section select thePath
variable and clickEdit
; - Select
New
and typeC:\Users\<your-user>\<path-to-extracted-folder-maven>\bin
then save and exit; - Open Windows Terminal (also named just "Terminal") and verify your Maven version by typing the following command:
mvn --version
- If the version is the 3 or later, the installation has been successful
If something went wrong with the installation try again this or another method at this link.
The default terminal emulator will run the application, but the recommendation is iTerm2, obtainable directly from its website or by using the Homebrew command:
brew install --cask iterm2
- Download the Java installer (
.dmg
) from Oracle the correct version for the system in use: - From either the browser downloads window or from the file browser, double-click the
.dmg
file to start it. A Finder window appears that contains an icon of an open box and the name of the.pkg
file. - Click
Continue
, the installation window will appear. - Click
Install
, a window appears that displays the message:Installer is trying to install new software. Enter your password to allow this.
- Enter the Administrator username and password and click
Install Software
. The software is installed and a confirmation window is displayed. - Open your terminal of choice and verify your Java version by typing the following command:
java -version
- If the version is the 18.0.1 or later, the installation has been successful
After the software is installed, you can delete the .dmg
file if you want to save disk space.
- Install Homebrew (if not already installed)
- Install Maven by using this Homebrew formula:
brew install maven
- Open your terminal of choice and verify your Maven version by typing the following command:
mvn -version
- If the version is the 3 or later, the installation has been successful!
If you want to download Maven and JavaJDK with your package manager be sure to fulfill the system requirements otherwise follow the next steps.
The recommended choice is GNOME Terminal, obtainable from the distribution's package manager
- Download JavaJDK based on your distro here;
- Navigate to your preferred install location and extract the .tar.gz archive file using:
tar zxvf jdk-18.<version-number>-x64_bin.tar.gz
- Now let's set the
PATH
variable by typing the following code:
cd $HOME
nano .bashrc
- Add the following line to the end of
.bashrc
:
export PATH=/<path-to-extracted-folder/bin:$PATH
- Verify your Java version by typing the following command:
java -version
- If the version is the 18.0.1 or later, the installation has been successful
If something went wrong with the installation try again this or another method at this link.
- Download Maven based on your distro here
- Extract it with:
tar zxvf maven.<version-number>-x64_bin.tar.gz
- Set
PATH
variable by appending this command to.bashrc
as previous steps:
cd $HOME
nano .bashrc
export PATH=/<path-to-extracted-folder/bin:$PATH
- Open your terminal of choice and verify your Maven version by typing the following command:
mvn -v
or
mvn --version
- If the version is the 3 or later, the installation has been successful