Tuesday, February 25, 2020

Setup Java and Maven on Ubuntu on Microsoft Azure Cloud - Install Java and Maven on Ubuntu on Azure Cloud

Please follow steps to install Java, Maven on Ubuntu Virtual machine running in Azure Cloud.

Java Setup on Ubuntu
sudo apt-get update

Install Java Open JDK 11 package
sudo apt-get install default-jdk -y

Once install java, enter the below command

Verify Java Version
java -version

Maven Setup

sudo apt install maven -y

you can type mvn --version
you should see the below output.


That's it. You have setup Java and Maven successfully!!

No comments:

Post a Comment