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

From Libopedia
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
</center>
 
</center>
 
==Step 3. Install Java Software Dependencies==
 
==Step 3. Install Java Software Dependencies==
'''''<font color="red">Please note:</font>'''''
+
===PLEASE NOTE:===
 
+
<font color="red">
 +
'''
 
*With the Tomcat install, during installation, using "tasksel", the "default-jre" was installed.''
 
*With the Tomcat install, during installation, using "tasksel", the "default-jre" was installed.''
 
*Please ensure you have enabled the [[SUNScholar/Install_Ubuntu/S04#Setup_the_software_repositories|Ubuntu partner repositories]] before continuing.
 
*Please ensure you have enabled the [[SUNScholar/Install_Ubuntu/S04#Setup_the_software_repositories|Ubuntu partner repositories]] before continuing.
 
*If using Ubuntu 12.04 LTS and DSpace versions => 4.2, then check:
 
*If using Ubuntu 12.04 LTS and DSpace versions => 4.2, then check:
 
  http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/DSpace/Release_Notes/4.X#Java_Version_Upgrade
 
  http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/DSpace/Release_Notes/4.X#Java_Version_Upgrade
 
+
'''
 +
</font>
 
===Step 3.1: Install Java===
 
===Step 3.1: Install Java===
 
Type as follows:
 
Type as follows:

Revision as of 14:57, 13 January 2015

 STEP 4

Step 3. Install Java Software Dependencies

PLEASE NOTE:

  • With the Tomcat install, during installation, using "tasksel", the "default-jre" was installed.
  • Please ensure you have enabled the Ubuntu partner repositories before continuing.
  • If using Ubuntu 12.04 LTS and DSpace versions => 4.2, then check:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/DSpace/Release_Notes/4.X#Java_Version_Upgrade

Step 3.1: Install Java

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 something like 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