• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Install JDK 8 and Maven 3 on Ubuntu 14.04 (HP Cloud)

By Abhishek Ghosh September 23, 2015 5:34 pm Updated on September 23, 2015

Install JDK 8 and Maven 3 on Ubuntu 14.04 (HP Cloud)

Advertisement

For Many Webapps in Java 8 We Need JDK 8 & Apache Maven. Here is How to Install JDK 8 and Maven 3 on Ubuntu 14.04 Running on HP Cloud. We can install this combination on any server running PHP5-FPM and Nginx without any issue, with or without virtual host on Nginx.

 

Note To Install JDK 8 and Maven 3 on Ubuntu 14.04 (HP Cloud)

 

We are showing the working and tested method on the date of publication for Ubuntu 14.04 LTS server distribution supplied by HP Cloud. Your hosting company may use a differently compiled version of Ubuntu 14.04 optimized for their setup. Commands will be the same and working, yet be careful if the hosting is different than ours.

If you want to remove later, only remove the packages – DO NOT remove the dependencies if Nginx and PHP5-FPM is serving a live website on the same server.

Advertisement

---

 

How To Install JDK 8 and Maven 3 on Ubuntu 14.04 (HP Cloud)

 

First, we will install JDK, then Apache Maven. Run update :

Vim
1
apt update

Check if Java is installed or not :

Vim
1
java -version

It is expected that you’ll get this output :

Vim
1
The program java can be found in the following packages...

We will install Java Development Kit (JDK), not Java Runtime Environment (JRE) :

Vim
1
apt-get install default-jdk

Apache Ant, Apache Maven, Eclipse etc. will need Java Development Kit (JDK). Notice this screenshot, the server has Java Runtime Environment not Java Development Kit :

Install JDK 8 and Maven 3 on Ubuntu 14.04 (HP Cloud)

Peoples are complaining this repo is disturbing, but we saw no issue :

Vim
1
2
3
sudo add-apt-repository ppa:webupd8team/java
apt update
apt-get install oracle-java8-installer

Java work is done. This step is optional, in case you want to manage Java, then run :

Vim
1
sudo update-alternatives --config java

Above is Java related matter, we are not going in to details. Install Maven from repository :

Vim
1
apt-get install maven

The above command install the Maven in /usr/share/maven and settings at /etc/maven. You possibly love to check the version of Maven :

Vim
1
mvn -version

In case you installed Maven in other source to /usr/share/maven3/bin/mvn, you should symlink in this way :

Vim
1
sudo ln -s /usr/share/maven3/bin/mvn /usr/bin/maven

 

How To Remove JDK 8 and Maven 3 on Ubuntu 14.04 (HP Cloud)

 

You will run the opposite command of apt-get install, i.e. apt-get remove for server running other softwares, like :

Vim
1
2
3
apt-get remove oracle-java8-installer
apt-get remove default-jdk
apt-get remove maven

Be careful.

Tagged With apt get maven 3 jdk 8 , how to install maven for jdk 8 , install maven 3 1 ubuntu with jdk 8 , installer maven3 on ubuntu 16 04 , maven 3 ubuntu , windows 10 linux subsystem maven3

This Article Has Been Shared 672 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install JDK 8 and Maven 3 on Ubuntu 14.04 (HP Cloud)

  • Installing WordPress on Rackspace Cloud Sites : Step by Step Guide

    Installing WordPress Rackspace Cloud Sites is very easy. However, Rackspace uses their own version of Control Panel. Here is full step by step guide.

  • Business Cloud Computing : Use the Power of Cloud Computing

    Business Cloud Computing means Return of Investment. You can either power your business with Cloud or use Cloud Computing for a new Business itself.

  • Points To Know Before Shifting to Cloud Computing Platform

    Points To Know Before Shifting to Cloud Computing Platform, analysis to be done about the credentials of the course. And here is a guide which will be handy.

  • Libswarm : The Open Source Docker API

    Libswarm is an Open Source Docker, a Toolkit for Composing Network Services and Supported by Rackspace Cloud. We can aggregate all containers easily.

  • Install WordPress on Nginx With HHVM on Ubuntu Cloud Server

    Here is Step by Step Guide to Install WordPress on Nginx With HHVM on Ubuntu Cloud Server. This simple and most easy standalone HHVM only guide. We talked about HipHop Virtual Machine or HHVM in order article. Normally, with Nginx, we use PHP5-FPM. This guide is how to install WordPress on Nginx with HHVM on […]

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Install JDK 8 and Maven 3 on Ubuntu 14.04 (HP Cloud)," in The Customize Windows, September 23, 2015, January 30, 2023, https://thecustomizewindows.com/2015/09/install-jdk-8-and-maven-3-on-ubuntu-14-04-hp-cloud/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT