Difference between revisions of "SUNScholar/Prepare Ubuntu/S03"
Jump to navigation
Jump to search
m (→PLEASE NOTE:) |
|||
| Line 21: | Line 21: | ||
sudo update-java-alternatives -l | sudo update-java-alternatives -l | ||
| − | Depending on which version of the Ubuntu server you use, you should get something like the following | + | Depending on which version of the Ubuntu server you use, you should get something like the following: |
| + | ====Ubuntu 14.04==== | ||
| + | java-1.7.0-openjdk-amd64 1051 /usr/lib/jvm/java-1.7.0-openjdk-amd64 | ||
| + | ====Ubuntu 14.04==== | ||
<pre> | <pre> | ||
java-1.6.0-openjdk-amd64 1061 /usr/lib/jvm/java-1.6.0-openjdk-amd64 | java-1.6.0-openjdk-amd64 1061 /usr/lib/jvm/java-1.6.0-openjdk-amd64 | ||
| − | |||
java-6-sun 63 /usr/lib/jvm/java-6-sun | java-6-sun 63 /usr/lib/jvm/java-6-sun | ||
</pre> | </pre> | ||
| − | + | + | |
[[File:Sunscholar-java.png|border]] | [[File:Sunscholar-java.png|border]] | ||
Revision as of 20:44, 16 June 2015
NEXT - STEP 4
Contents
Step 3. Install Java Software dependencies
PLEASE NOTE:
- When using "tasksel" during the Ubuntu server installation, and selecting Tomcat as an installation option, 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 the following:
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 default-jre
List the Java alternatives by typing as follows:
sudo update-java-alternatives -l
Depending on which version of the Ubuntu server you use, you should get something like the following:
Ubuntu 14.04
java-1.7.0-openjdk-amd64 1051 /usr/lib/jvm/java-1.7.0-openjdk-amd64
Ubuntu 14.04
java-1.6.0-openjdk-amd64 1061 /usr/lib/jvm/java-1.6.0-openjdk-amd64 java-6-sun 63 /usr/lib/jvm/java-6-sun
Step 3.2: Install Ant
Type as follows:
sudo apt-get install ant ant-optional
PREVIOUS - STEP 2
