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.
