![]() ![]() OS name: "linux", version: "5.4.0-26-generic", arch: "amd64", family: "unix"įinally, cleanup the disk by removing the downloaded archive file. Java version: 11.0.7, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64Äefault locale: en, platform encoding: UTF-8 To find the current installed Maven version, type: mvn -versionĪpache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) You have successfully installed and configured Apache Maven on your Ubuntu system. Next load the environment variables in current shell using following command. mansoormansoor: mvn -version The program mvn can be found in the following packages: maven maven2 Try: sudo apt-get install So i tried with both the things. sudo apt install default-jdk Step 1 Install Maven on Ubuntu 20.04 You can download Apache maven from its official website or use following command to download Apache Maven 3.6.3 on your system.HOW TO INSTALL MAVEN IN KUBUNTU UPDATEUpdate the following content to file: export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 Now set the environments variables by creating new file /etc/profile.d/maven.sh. sudo tar xzf apache-maven-3.6.Īs you have downloaded pre-compiled Apache Maven files on your system. Now extract downloaded archive using following command. You can download Apache maven from its official website or use following command to download Apache Maven 3.6.3 on your system. If you donât have Java Development Kit installed on your system. OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing) ![]() Just remember you need to have root privileges. The easy way is just execute following command : sudo apt-get install maven Or if you use Ubuntu 16+ you can use following command too : sudo apt install maven. HOW TO INSTALL MAVEN IN KUBUNTU MANUALOpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1) For installing Maven on Ubuntu you have two ways the easy way and the manual method. also make sure you have installed JDK and JRE both. So first of all, Make sure you have Java installed on your system. This tutorial will help you to install and configure Apache Maven on Ubuntu 20.04 LTS systems.Īpache Maven required Java language for running on any operating system. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |