...
An optional step that can be done after installation would be to switch to the Sun/Oracle Java JDK. The tasksel task to install Tomcat installs the default OpenJDK which is a viable form of Java, however the official recommendation of DSpace is to use the Sun/Oracle Java JDK which offers better performance and other proprietary enhancements.
Info | ||
---|---|---|
| ||
Oracle has changed their partner distribution license, which means that Canonical/Ubuntu has had to purge Sun-Java-6 from their repository. Thus, updating Ubuntu will remove Sun-Java from your system, and installing Sun-Java from the partner repository will no longer work. See more: https://lists.ubuntu.com/archives/ubuntu-security-announce/2011-December/001528.html |
Enable the Canonical Partners repository.
...
Tomcat ignores the system default and continues to use OpenJDK. To make Tomcat use Sun Java instead, add the following line to /etc/default/tomcat6:
Code Block |
---|
JAVA_HOME=/usr/lib/jvm/java-6-sun
|
...