sushikasce.blogg.se

How to install maven and set its path
How to install maven and set its path













how to install maven and set its path
  1. #HOW TO INSTALL MAVEN AND SET ITS PATH ZIP FILE#
  2. #HOW TO INSTALL MAVEN AND SET ITS PATH UPDATE#

Besides this, we have that OpenSUSE is more and more chosen as the main distribution by many developers.

how to install maven and set its path

ConclusionĪpache Maven is a necessary tool for the development of Java applications. This means that everything is fine and Apache Maven is ready for work. Now, display the installed version using the mvn command. So, create a configuration file using the nano text editor and add the following: :~$ sudo nano /etc/profile.d/maven.sh export M2_HOME=/opt/maven/ģ.- Installing Apache maven on OpenSUSE 15.2 / 15.1 Once you have done this, you have to define the environment variables to be able to use it from the terminal as one more command. :~$ unzip apache-maven-3.6.3-bin.zipĪnd move it to /opt/ :~$ sudo mv apache-maven-3.6.3 /opt/maven

#HOW TO INSTALL MAVEN AND SET ITS PATH ZIP FILE#

Since I downloaded the ZIP file I unzipped it. Then it’s time to unzip it and move it to another folder. So the best way to get the latest version of Apache Maven on our OpenSUSE 15.2 / 15.1 is to download it directly.ġ.- Downloading and installing Apache Maven on OpenSUSE 15.2 / 15.1Īt the time of this post, the latest stable version is 3.6.3. Install Apache Maven on OpenSUSE 15.2 / 15.1

#HOW TO INSTALL MAVEN AND SET ITS PATH UPDATE#

Once the system update is completed, we can now continue with the rest of the steps.Īpache Maven requires Java to run, so the next step is to install it: :~$ sudo zypper in java-11-openjdk java-11-openjdk-devel Open a terminal session and run: :~$ sudo zypper up















How to install maven and set its path