1.1.2. Installing Java JDK
Download and install the Sun Java JDK for
Compiere installation, available at http://java.sun.com/.
If you
have installed any other JDKs, please uninstall them before installing
Compiere. You can check this by typing:
$ rpm -qa | grep java
For JDK, installation starts with the following
command:
$ ./jdk-1_5_0_06-linux-i586.bin
Edit the profile and then add path settings into
it:
$ gedit /etc/profile
Add the following lines:
--------------------------------------
PATH=/opt/jdk1.5.0_06/bin/:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/:$PATH
CLASSPATH=.:$CLASSPATH
JAVA_HOME=/opt/jdk1.5.0_06/:$JAVA_HOME
---------------------------------------