Part 1: Prerequisites:
JRE (Java Runtime Environment) from SUN Microsystems (http://java.sun.com).
If you need to install the correct java version:
1) Download the jdk-6-linux-i586.bin from http://java.sun.com to the desktop
2) chmod +x jdk-6-linux-i586.bin
3) .\jdk-6-linux-i586.bin
4) mv jdk1.6.0 /usr/lib/Java6
5)
update alternatives –install “/usr/bin/java” “java” “/usr/lib/Java6/bin/java” 1
update alternatives –set java /usr/lib/Java6/bin/java
update alternatives –install “/usr/bin/javac” “javac” “/usr/lib/Java6/bin/javac” 1
update alternatives –set javac /usr/lib/Java6/bin/javac
update alternatives –install “/usr/bin/javaws” “javaws” “/usr/lib/Java6/bin/javaws” 1
update alternatives –set javaws /usr/lib/Java6/bin/javaws
update alternatives –install “/usr/bin/apt” “apt” “/usr/lib/Java6/bin/apt” 1
update alternatives –set apt /usr/lib/Java6/bin/apt
6) Test the installation
java -version
javac -version
ant
apt
To check the JVM version just go to: http://www.java.com/en/download/installed.jsp
To Test Virtual Machine: http://www.java.com/en/download/help/testvm.xml
Download:
SAPGUI for Java from ftp://ftp.sap.com.