Dashboard > Penrose 2.0 > ... > Penrose Server User Guide > Java Virtual Machine
Log In   View a printable version of the current page.
Java Virtual Machine
Added by Endi S. Dewata, last edited by Endi S. Dewata on Mar 13, 2009  (view change)
Labels: 
(None)


Overview

Penrose requires JRE/JDK 1.5 or later. Currently it has only been tested with Sun's JVM. The default JVM that comes with Linux might not work.

Installation

On Red Hat Enterprise Linux you can run the following command to install Java:

yum install java-1.5.0-sun

or

up2date -i java-1.5.0-sun

Alternatively you can download from Sun's website.

You need to set JAVA_HOME environment variable to point to the JRE/JDK installation directory. This variable can be set in your profile or in /etc/vd.conf.

Set the JAVA_HOME environment variable to point to the installation directory. Include $JAVA_HOME/bin directory in the PATH environment variable.

Linux

If you have multiple installation of JVM's on your machine, execute the following commands to switch to Sun's JVM:

alternatives --install /usr/bin/java java $JAVA_HOME/bin/java 2

Then run the following:

alternatives --config java

Select option #2 to switch to Sun's JDK.

Verification

Run the following command to verify the installation:

java -version

Make sure it shows Sun's JVM version 1.5 or later.

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators