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

From Libopedia
Jump to navigation Jump to search
m (Text replacement - "Back to Index" to "Back to "Prepare Ubuntu"")
Line 1: Line 1:
 
<center>
 
<center>
'''[[SUNScholar/Prepare Ubuntu|Back to "Prepare Ubuntu"]]'''
+
  '''[[SUNScholar/Prepare Ubuntu/S04|STEP 4]]'''
 
</center>
 
</center>
 
==Step 3. Install Java Software Dependencies==
 
==Step 3. Install Java Software Dependencies==
Line 25: Line 25:
  
 
[[File:Sunscholar-java.png]]
 
[[File:Sunscholar-java.png]]
 
  '''[[SUNScholar/Prepare Ubuntu/S02|PREVIOUS]]'''
 
 
  '''[[SUNScholar/Prepare Ubuntu/S04|NEXT]]'''
 

Revision as of 11:54, 18 January 2014

 STEP 4

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