![]() ![]() If you want to have separate versions and update as they become available, create a symbolic link to the version folder. sudo ln -s /opt/apache-maven- 3.8.3 /opt/maven Run the commands below to link version 3.8.3 to the Maven home folder in /opt/maven. To do that, run the commands below: sudo nano /etc/profile.d/maven.sh all you have to do is update the symbolic link to reference the new release folder by running the command above and updating the release number in the folder name.Īfter downloading and extracting Maven package, go and setup its environment variables. Then copy and pastes the lines below and save into the file. How to install maven on linux update#Įxport JAVA_HOME=/usr/lib/jvm/default-javaįinally, run the commands below to update and load the changes. Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 That should do it! Now run the commands below to check the version number. How to install maven on linux download#.
0 Comments
Leave a Reply. |