Difference between revisions of "SUNScholar/Prepare Ubuntu/S03"

From Libopedia
Jump to navigation Jump to search
Line 4: Line 4:
 
===Step 3.1: Install Java===
 
===Step 3.1: Install Java===
 
'''<font color="red">*** Please ensure you have enabled the [[SUNScholar/Install_Ubuntu/S04#Setup_the_software_repositories|Ubuntu partner repositories]] before continuing. ***</font>'''
 
'''<font color="red">*** Please ensure you have enabled the [[SUNScholar/Install_Ubuntu/S04#Setup_the_software_repositories|Ubuntu partner repositories]] before continuing. ***</font>'''
 +
 +
;''Note: With the Tomcat install, during installation, using "tasksel", the "default-jre" was installed.''
  
 
Type as follows:
 
Type as follows:
 
;''Note: With the Tomcat install, during installation, using "tasksel", the "default-jre" was installed.''
 
  
 
  sudo apt-get install default-jdk
 
  sudo apt-get install default-jdk

Revision as of 11:05, 9 December 2013

Template:SUNScholar

Step 3. Install Java Software Dependencies

Step 3.1: Install Java

*** Please ensure you have enabled the Ubuntu partner repositories before continuing. ***

Note: With the Tomcat install, during installation, using "tasksel", the "default-jre" was installed.

Type as follows:

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 Ant

Type as follows:

sudo apt-get install ant ant-optional

Sunscholar-java.png

 PREVIOUS
 NEXT