Difference between revisions of "SUNScholar/Prepare Ubuntu/S03"
Jump to navigation
Jump to search
| Line 8: | Line 8: | ||
Type as follows: | Type as follows: | ||
| − | ;''Note: | + | ;''Note: With the Tomcat install, during installation, using "tasksel", the "default-jre" was installed.'' |
| − | sudo apt-get install | + | sudo apt-get install default-jdk |
List the Java alternatives by typing as follows: | List the Java alternatives by typing as follows: | ||
| Line 17: | Line 17: | ||
You should get the following | 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== | ==Step 3.2: Install Java Ant Compiler== | ||
Revision as of 11:01, 9 December 2013
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
