AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
How to install maven on ubuntu 16.0411/2/2022
So, we need to make those changes permanent, we need to open current user’s home folder: Those variables will last until bash is running, if you close terminal or restart your computer they’re going to be lost. $ export JAVA_HOME=/usr/lib/jvm/java-8-oracle/bin $ export PATH=/usr/local/mvn/apache-maven-3.3.9/bin:$PATHĪlso, for correct Maven and IntelliJ operation we need to set JAVA_HOME variable. This is required for correct Maven operation. Now, we need to add /usr/local/mvn/apache-maven-3.3.9/bin folder to PATH variable. #HOW TO INSTALL MAVEN ON UBUNTU 16.04 ARCHIVE#Let’s change folder to /usr/local/mvn and unzip Maven archive there. $ sudo mv apache-maven-3.3.9-bin.zip /usr/local/mvn Then we need to move our downloaded archive to newly created folder: I use /usr/local/mvn folder for Maven installation, we need to create it first: I found that current version is 3.3.9 and we can download this file apache-maven-3.3.9-bin.zip from the site or just run following command from terminal: To do that let’s open Maven web page here and check which current version do they have. Since we’ve got JDK installed, now we’re going to install Maven. Which is a good sign though □ I expected something like that □ We’ve got our Java Development Kit installed!Īs I mentioned in the beginning, in Ubuntu 15.10 this installation can be done from Ubuntu Software Center which is easier. That command returned the following message: javac 1.8.0_66 We should check which version of Java we have installed now. $ sudo apt-get install oracle-java8-installer So, let’s open our Terminal and run these commands: $ sudo add-apt-repository ppa:webupd8team/java For this installation we need to add PPA repository from webupd8team and install JDK from there. According to Oracle current version is Java SE Development Kit 8u66, I actually like to use latest versions, and I’m going to use that one for installation here. I was thinking to use Ubuntu software center for this installation, but OpenJDK Java 7 Runtime is the latest version available there. Let’s start!įirst of all we need to install Java Development Kit. (JDK 8 is available from Ubuntu Software Center in Ubuntu 15.10). At least you can find all you need here, one source makes it easier □ The article is good for Ubuntu 14.04.3 and actually, it should be good for 15.10 with a little difference in JDK installation. I really hope the article will be helpful for those, who wants to use those tools in Ubuntu linux. I have easly installed them for MS Windows but installation for Ubuntu linux was a little challenging for me, that’s why I decided to write this article. The tools I’m using are: Java Development Kit(JDK), Apache Maven, IntelliJ IDE and JUnit. #HOW TO INSTALL MAVEN ON UBUNTU 16.04 HOW TO#Dmitrii Kilishek on How to install JDK + Maven + IntelliJ + JUnit on Ubuntu Linux 14.04Ĭurrently, I’m learning test automation.sonam on Michael Bolton’s blog post: A Context-Driven Approach to Automation in Testing.Apple devices held for ransom, rumors claim 40M iCloud accounts hacked – Classic iPod on Friday 13 – My Apple ID was hacked.Dmitrii Kilishek on Installing Java OpenJDK from. #HOW TO INSTALL MAVEN ON UBUNTU 16.04 UPDATE#tar.gz archive and update the default JDK version New achievement – MS Data Fundamentals Certified.
0 Comments
Read More
Leave a Reply. |