Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2.6
Software NameMinimum VersionNotes
Ubuntu (Server)

1214.04 LTS (Precise Pangolin)

Tested more extensively on 13.10

(

Saucy Salamander) and 14.04 (

Trusty Tahr)

.

 
Oracle Java 7 8 JDK + JRE1.78.0Install instructions detailed below.
Git CLI1.9.1Install instructions detailed below.Mercurial CLIInstall instructions detailed below.
Apache Maven3.01.1Install instructions detailed below.
Apache Tomcat7.0Install instructions detailed below.

...

Install Software Requirements

System

Installing the software packages detailed below requires several common system-wide utilities. They can be installed by running:

...

languagebash

...

Java Development Kit (JDK) & Java Runtime Environment (JRE)

In order to get the proprietary Oracle Java 7 8 packages, run the following: 

Code Block
languagebash
sudo apt-get install python-software-properties (This may be necessary to use the add-apt-repository command)
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7java8-installer
sudo update-java-alternatives -s java-78-oracle
Info
Note: when running the final command above, you might see some errors like the following:
update-alternatives: error: no alternatives for mozilla-javaplugin.so.

These errors can be safely ignored.

 

To set the JAVA_HOME environment variable for the installed JDK:

Code Block
languagebash
export JAVA_HOME=/usr/lib/jvm/java-78-oracle
echo "export JAVA_HOME=$JAVA_HOME" | sudo tee -a /etc/environment

...

Code Block
languagebash
sudo apt-get install oracle-java7-unlimited-jce-policy

OR

Code Block
languagebash
wget --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jce/7/UnlimitedJCEPolicyJDK7.zip 
sudo apt-get install unzip (if not already installed)
unzip UnlimitedJCEPolicyJDK7.zip
sudo cp UnlimitedJCEPolicy/local_policy.jar $JAVA_HOME/jre/lib/security
sudo cp UnlimitedJCEPolicy/US_export_policy.jar $JAVA_HOME/jre/lib/securityjava8-unlimited-jce-policy

Git CLI

Run the following:

Code Block
languagebash
sudo apt-get install git

Mercurial CLI

...

Apache Maven

Info

Maven must be installed manually because the minimum version of Maven that must be installed is 3.1.1 and on 14.04 LTS, the default version of Maven that is installed is 3.0.5 if the following command

Code Block
languagebash
sudo apt-get install 
mercurial

Apache Maven

Run the following:

...

languagebash

...

maven

is run.

Instructions for how to install Maven manually can be found here and archived versions of Maven 3 can be downloaded here.

Apache Tomcat

Run the following:

...