This guide details the process for installing the system requirements of the validator.
Hardware Type | Minimum Requirement | Notes |
CPU | ||
Memory (RAM) |
Software Name | Minimum Version | Notes |
Ubuntu (Server) | 14.04 LTS (Trusty Tahr) | |
Oracle Java 8 JDK + JRE | 1.8.0 | Install instructions detailed below. |
Git CLI | 1.9.1 | Install instructions detailed below. |
Apache Maven | 3.1 | Install instructions detailed below. |
Apache Tomcat | 9.0 |
In order to get the proprietary Oracle Java 8 packages, run the following:
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-java8-installer sudo update-java-alternatives -s java-8-oracle |
To set the JAVA_HOME environment variable for the installed JDK:
export JAVA_HOME=/usr/lib/jvm/java-8-oracle echo "export JAVA_HOME=$JAVA_HOME" | sudo tee -a /etc/environment |
Run the following:
sudo apt-get install git |
On 14.04 LTS, the default version of Maven that is installed is 3.0.5 if the following command
is run. Even though the Cancer Report Validator project can run with Maven version 3.0.5, the codevalidator project it depends on requires the use of Maven version 3.1 or greater. Thus, on 14.04 LTS, a Maven version that is 3.1 or greater must be manually configured. |
Instructions for how to install Maven manually can be found here and archived versions of Maven 3 can be downloaded here.