SUNScholar/Prepare Ubuntu/S03
Jump to navigation
Jump to search
Step 3. Install Java Software Dependencies
Please ensure you have enabled the Ubuntu partner repositories before continuing.
Step 3.1: Install Oracle/SUN Java 6 Run Time
Please see: http://www.webupd8.org/2013/02/oracle-releases-updates-for-java-7-jdk.html for the latest news.
Type as follows:
- Note: With the Tomcat install, during installation, using "tasksel", the "default-jre" was installed.
sudo apt-get install default-jdk
List the Java alternatives by typing as follows:
sudo update-java-alternatives -l
You should get the following
java-1.6.0-openjdk-amd64 1061 /usr/lib/jvm/java-1.6.0-openjdk-amd64
Step 3.2: Install Java Ant Compiler
Type as follows:
sudo apt-get install ant ant-optional
PREVIOUS
NEXT
