export JAVA_HOME=/usr/lib/jvm/java-11-oracleĮxport MAVEN_HOME=/usr/local/apache-maven sudo vi /etc/profile.d/apache-maven.shĪnd add following content. Now set the environments variables by creating new file /etc/profile.d/maven.sh. Sudo ln -s apache-maven-3.6.3 apache-mavenĪs you have downloaded pre compiled Apache Maven files on your system. ![]() Now extract downloaded archive using following command. Download Apache maven from its official website or use following command to download Apache Maven 3.6.3. Visit install Java 11 on Ubuntu Step 2 – Install Maven on UbuntuĪfter verifying java version on your system. If you don’t have Java Development Kit installed on your system. OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing) So firstly you need to install Java on your system also make sure you have installed JDK and JRE both. This tutorial will help you to install Apache Maven on your Ubuntu 19.10 LTS, 18.04 LTS, and 16.04 LTS systems.įirst of all, you make sure that you installed appropriate Java on your system.Java is the primary requirement of installing Apache Maven on nix systems. Maven can manage a project’s build, reporting, and documentation from a central piece of information. ![]() Apache Maven is a software project management and comprehension tool.
0 Comments
Leave a Reply. |