The official documentation is at: http://docs.alfresco.com
Alfresco requires Sun's Java Runtime Environment (JRE) or Java Development Kit (JDK) version 5 or later to be installed in order to run. Due to Java licensing issues, Linux distributors cannot currently include this software with their distributions and so this must be manually installed.
Depending on the flavour of GNU/Linux that you are running, you may be able to obtain the JRE or JDK via additional software repositories (which you may need to explicitly enable). Otherwise you can download binary installers for both the JRE and JDK from java.sun.com.
Despite the title of this document only the JRE is in fact needed in order to run Alfresco, although you will need the JDK if you intend to build Alfresco from source.
Ubuntu 5.10 - Breezy
To download JDK 1.5, go to http://java.sun.com/j2se/1.5.0/download.jsp
Select JDK 1.5 and download the
To execute the file, run the command
Install the file under root and ensure that the users and developers have access top the directory.
Ubuntu 6.06 - Dapper
It appears that the Sun Java 1.5.0 runtime is sufficient for Alfresco (everything works fine for me - can someone confirm? --Ashley Hooper 19:45, 22 June 2006 (BST))
1. Add Dapper's multiverse distribution to
2. install the JRE via apt
sudo apt-get install sun-java5-jre
Alternatively, if you want to use the JDK:
2. install the jdk via apt
sudo apt-get install sun-java5-jdk
--Ayyapan 14:27, 17 May 2006 (BST)
3. On Ubuntu 6.06, GJC Java (free license) is installed by default, so if you want to use Sun Java you will need to make it the default. To list the installed JVMs:
Then to select Sun JVM as the default, run:
sudo update-java-alternatives -s java-1.5.0-sun
You should also edit
/etc/jvm and move
/usr/lib/jvm/java-1.5.0-sun to the top of JVMs offered
See https://help.ubuntu.com/community/Java for more
--Fyborg 15:27, 12 May 2007 (BST)