<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Not able to find JAVA after installation in Additional Q&amp;A</title>
    <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279779#M72494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ahsan,&lt;/P&gt;&lt;P&gt;the reason behind Deepak suggestion is, that the $PATH variable checks the path from the first given directory to the last given directory. If you place the /usr/java/j2re1.4.2_12 path at the end of the $PATH variable, if will still use a java that is found earlier in the path. Therefore, make sure that /usr/java/j2re1.4.2_12 comes first. With this you ensure that this directory is searched first.&lt;/P&gt;&lt;P&gt;Basically, $PATH variables are very basics in IT and work the same on Windows and UNIX systems. It is quite strange that you bypassed this concept until now &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks, Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Oct 2010 08:59:17 GMT</pubDate>
    <dc:creator>hannes_kuehnemund</dc:creator>
    <dc:date>2010-10-01T08:59:17Z</dc:date>
    <item>
      <title>Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaq-p/7279766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to install ECC.6 on Red Hat Enterprises Linux 5.0 server for test purpose. I have already completed RHEL installation and perform all the recommendation written in SAP NOTES 171356, 1048303 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have installed JAVA as per the instructions given in the following links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://java.sun.com/j2se/1.4.2/install-linux.html" target="test_blank"&gt;http://java.sun.com/j2se/1.4.2/install-linux.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.java.com/en/download/help/linux_install.xml" target="test_blank"&gt;http://www.java.com/en/download/help/linux_install.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.yolinux.com/TUTORIALS/LinuxTutorialJava.html#INSTALL_SDK" target="test_blank"&gt;http://www.yolinux.com/TUTORIALS/LinuxTutorialJava.html#INSTALL_SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to install JAVA on my Linux server but when I try to check whether the installation is successful or not I tried following commands, with the unexpected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#which java&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/usr/bin/java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;OL&gt;&lt;LI level="2" type="ol"&gt;&lt;P&gt;Java -fullversion*&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;gives details of by default installed java.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me or guide me to install java correctly on my Linux server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other details if you like I will provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahsan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:18:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaq-p/7279766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-20T12:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279767#M72482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;STRONG&gt;# Java -fullversion&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; gives details of by default installed java.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what output do you get there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:40:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279767#M72482</guid>
      <dc:creator>markus_doehr2</dc:creator>
      <dc:date>2010-09-20T12:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279768#M72483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahsan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;# Java -fullversion
gives details of by default installed java.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you are trying to say that this command returns the version of Java installed by default.  You may need to use the "alternatives" system inorder for your environment to use a specific java installation.  (Install via rpm, right?)  Check what the table of "/usr/sbin/alternatives --config java" contains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Is /usr/bin/java a symbolic link to another executable?&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;ls -l /usr/bin/java&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;*What does the following return?&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;echo $JAVA_HOME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-zach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 17:23:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279768#M72483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T17:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279769#M72484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a download page solely for SAP customers:&lt;/P&gt;&lt;P&gt;                                                                 &lt;/P&gt;&lt;P&gt;   &lt;A href="http://www.sun.com/software/javaforbusiness/sap_download.jsp" target="test_blank"&gt;http://www.sun.com/software/javaforbusiness/sap_download.jsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see note...&lt;/P&gt;&lt;P&gt;Note 716604 for the Sun JDK (Windows, Linux, Solaris)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;John Feely&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 18:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279769#M72484</guid>
      <dc:creator>former_member189546</dc:creator>
      <dc:date>2010-09-22T18:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279770#M72485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Zach,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the result below after performing your given suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@localhost /]# which java&lt;/P&gt;&lt;P&gt;/usr/bin/java&lt;/P&gt;&lt;P&gt;[root@localhost /]# java -version&lt;/P&gt;&lt;P&gt;java version "1.4.2"&lt;/P&gt;&lt;P&gt;gij (GNU libgcj) version 4.1.2 20070626 (Red Hat 4.1.2-14)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copyright (C) 2006 Free Software Foundation, Inc.&lt;/P&gt;&lt;P&gt;This is free software; see the source for copying conditions.  There is NO&lt;/P&gt;&lt;P&gt;warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/P&gt;&lt;P&gt;[root@localhost /]# ls -ltr&lt;/P&gt;&lt;P&gt;total 70406&lt;/P&gt;&lt;P&gt;-rw-r&lt;DEL&gt;r&lt;/DEL&gt;   1 root root 35513469 May 10  2006 j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Oct 11  2006 srv&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Oct 11  2006 opt&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Oct 11  2006 mnt&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Oct 11  2006 home&lt;/P&gt;&lt;P&gt;-rwxrwxrwx   1 root root 36337163 Sep 20 18:09 j2sdk-1_4_2_12-linux-i586.bin&lt;/P&gt;&lt;P&gt;drwx------   2 root root    16384 Sep 24 22:18 lost+found&lt;/P&gt;&lt;P&gt;drwxr-xr-x   3 root root     4096 Sep 24 22:20 sapmnt&lt;/P&gt;&lt;P&gt;drwxr-xr-x   3 root root     4096 Sep 24 22:21 oracle&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Sep 24 22:22 selinux&lt;/P&gt;&lt;P&gt;drwxr-xr-x  15 root root     4096 Sep 24 22:25 usr&lt;/P&gt;&lt;P&gt;drwxr-xr-x   4 root root     1024 Sep 24 22:26 boot&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Sep 24 22:27 bin&lt;/P&gt;&lt;P&gt;drwxr-xr-x  14 root root     4096 Sep 24 22:27 lib&lt;/P&gt;&lt;P&gt;drwxr-xr-x  21 root root     4096 Sep 24 22:29 var&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root    12288 Sep 24 22:31 sbin&lt;/P&gt;&lt;P&gt;dr-xr-xr-x 141 root root        0 Sep 24 22:34 proc&lt;/P&gt;&lt;P&gt;drwxr-xr-x  11 root root        0 Sep 24 22:34 sys&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root        0 Sep 24 22:34 misc&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root        0 Sep 24 22:34 net&lt;/P&gt;&lt;P&gt;drwxr-xr-x  11 root root     4320 Sep 24 22:43 dev&lt;/P&gt;&lt;P&gt;drwxr-xr-x   3 root root     4096 Sep 24 22:45 media&lt;/P&gt;&lt;P&gt;drwxr-xr-x   4 root root     4096 Sep 24 22:46 dump&lt;/P&gt;&lt;P&gt;drwxr-xr-x  91 root root     4096 Sep 24 22:46 etc&lt;/P&gt;&lt;P&gt;drwxrwxr-x   9 root root     4096 Sep 24 22:57 j2sdk1.4.2_12&lt;/P&gt;&lt;P&gt;drwxrwxrwt  11 root root     4096 Sep 24 22:58 tmp&lt;/P&gt;&lt;P&gt;drwxr-x---  15 root root     4096 Sep 24 22:58 root&lt;/P&gt;&lt;P&gt;[root@localhost /]# chmod 777 j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;[root@localhost /]# rpm -Uvh j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;Preparing...                ########################################### [100%]&lt;/P&gt;&lt;P&gt;   1:j2sdk                  ########################################### [100%]&lt;/P&gt;&lt;P&gt;[root@localhost /]# which java&lt;/P&gt;&lt;P&gt;/usr/bin/java&lt;/P&gt;&lt;P&gt;[root@localhost /]# java -fullversion&lt;/P&gt;&lt;P&gt;java full version "gcj-1.4.2"&lt;/P&gt;&lt;P&gt;[root@localhost /]# alternatives --config java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is 1 program that provides 'java'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Selection    Command&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------" /&gt;&lt;P&gt;*+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter to keep the current selection[+], or type selection number: &lt;/P&gt;&lt;P&gt;[root@localhost /]# ls -l /usr/bin/java&lt;/P&gt;&lt;P&gt;lrwxrwxrwx 1 root root 22 Sep 24 22:28 /usr/bin/java -&amp;gt; /etc/alternatives/java&lt;/P&gt;&lt;P&gt;[root@localhost /]# echo $JAVA_HOME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@localhost /]# &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahsan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 05:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279770#M72485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T05:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279771#M72486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Markus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the steps I am following to install JAVA on Linux. Please let me know where I am creating mistake. Please note that I'm installing Java for SAP on 32 bit server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@localhost dump]# chmod 777 &lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[root@localhost dump]# ls -ltr&lt;/P&gt;&lt;P&gt;total 153228&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 35513469 May 10  2006 j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root   682914 Jul  3  2008 saplocales-2.5-2.i386.rpm&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root    93425 Nov 25  2009 compat-libstdc++-296-2.96-141.i386.rpm&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 35184545 Sep 20 17:30 j2sdk-1_4_2_12-linux-i586-rpm.bin&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 36337163 Sep 20 18:09 j2sdk-1_4_2_12-linux-i586.bin&lt;/P&gt;&lt;P&gt;drwx------ 2 root root    16384 Sep 24 19:45 lost+found&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 20694516 Oct 18  2010 jre-6u21-linux-i586-rpm.bin&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 13834943 Oct 19  2010 j2re-1_4_2_12-linux-i586-rpm.bin&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 14339018 Oct 19  2010 j2re-1_4_2_12-linux-i586.bin&lt;/P&gt;&lt;P&gt;[root@localhost dump]# ./j2re-1_4_2_12-linux-i586-rpm.bin&lt;/P&gt;&lt;P&gt;             Sun Microsystems, Inc.&lt;/P&gt;&lt;P&gt;          Binary Code License Agreement&lt;/P&gt;&lt;P&gt;                  for the&lt;/P&gt;&lt;P&gt;JAVATM 2 RUNTIME ENVIRONMENT (J2RE), STANDARD EDITION,&lt;/P&gt;&lt;P&gt;              VERSION 1.4.2_X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you agree to the above license terms? [yes or no] yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unpacking...&lt;/P&gt;&lt;P&gt;Checksumming...&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;Extracting...&lt;/P&gt;&lt;P&gt;UnZipSFX 5.40 of 28 November 1998, by Info-ZIP &lt;/P&gt;&lt;P&gt;  inflating: j2re-1_4_2_12-linux-i586.rpm  &lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;[root@localhost dump]# ls -ltr&lt;/P&gt;&lt;P&gt;total 166960&lt;/P&gt;&lt;P&gt;-rw-r&lt;DEL&gt;r&lt;/DEL&gt; 1 root root 14040017 May 10  2006 j2re-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 35513469 May 10  2006 j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root   682914 Jul  3  2008 saplocales-2.5-2.i386.rpm&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root    93425 Nov 25  2009 compat-libstdc++-296-2.96-141.i386.rpm&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 35184545 Sep 20 17:30 j2sdk-1_4_2_12-linux-i586-rpm.bin&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 36337163 Sep 20 18:09 j2sdk-1_4_2_12-linux-i586.bin&lt;/P&gt;&lt;P&gt;drwx------ 2 root root    16384 Sep 24 19:45 lost+found&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 20694516 Oct 18  2010 jre-6u21-linux-i586-rpm.bin&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 13834943 Oct 19  2010 j2re-1_4_2_12-linux-i586-rpm.bin&lt;/P&gt;&lt;P&gt;-rwxrwxrwx 1 root root 14339018 Oct 19  2010 j2re-1_4_2_12-linux-i586.bin&lt;/P&gt;&lt;P&gt;[root@localhost dump]# chmod 777 j2re-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;[root@localhost dump]# cd /&lt;/P&gt;&lt;P&gt;[root@localhost /]# rpm -Uvh /dump/j2re-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;Preparing...                ########################################### [100%]&lt;/P&gt;&lt;P&gt;   1:j2re                   ########################################### [100%]&lt;/P&gt;&lt;P&gt;[root@localhost /]# which java&lt;/P&gt;&lt;P&gt;/usr/bin/which: no java in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)&lt;/P&gt;&lt;P&gt;[root@localhost /]# java -version&lt;/P&gt;&lt;P&gt;bash: java: command not found&lt;/P&gt;&lt;P&gt;[root@localhost /]# export JAVA_HOME=/usr/java/j2re1.4.2_12&lt;/P&gt;&lt;P&gt;[root@localhost /]# export PATH=$PATH:/usr/java/j2re1.4.2_12&lt;/P&gt;&lt;P&gt;[root@localhost /]# export JAVA_HOME=/usr/java/j2re1.4.2_12/bin&lt;/P&gt;&lt;P&gt;[root@localhost /]# env&lt;/P&gt;&lt;P&gt;SSH_AGENT_PID=2999&lt;/P&gt;&lt;P&gt;HOSTNAME=localhost.localdomain&lt;/P&gt;&lt;P&gt;DESKTOP_STARTUP_ID=&lt;/P&gt;&lt;P&gt;SHELL=/bin/bash&lt;/P&gt;&lt;P&gt;TERM=xterm&lt;/P&gt;&lt;P&gt;HISTSIZE=1000&lt;/P&gt;&lt;P&gt;GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2&lt;/P&gt;&lt;P&gt;WINDOWID=50331729&lt;/P&gt;&lt;P&gt;OLDPWD=/dump&lt;/P&gt;&lt;P&gt;USER=root&lt;/P&gt;&lt;P&gt;LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:&lt;STRONG&gt;.cmd=00;32:&lt;/STRONG&gt;.exe=00;32:&lt;STRONG&gt;.com=00;32:&lt;/STRONG&gt;.btm=00;32:&lt;STRONG&gt;.bat=00;32:&lt;/STRONG&gt;.sh=00;32:&lt;STRONG&gt;.csh=00;32:&lt;/STRONG&gt;.tar=00;31:&lt;STRONG&gt;.tgz=00;31:&lt;/STRONG&gt;.arj=00;31:&lt;STRONG&gt;.taz=00;31:&lt;/STRONG&gt;.lzh=00;31:&lt;STRONG&gt;.zip=00;31:&lt;/STRONG&gt;.z=00;31:&lt;STRONG&gt;.Z=00;31:&lt;/STRONG&gt;.gz=00;31:&lt;STRONG&gt;.bz2=00;31:&lt;/STRONG&gt;.bz=00;31:&lt;STRONG&gt;.tz=00;31:&lt;/STRONG&gt;.rpm=00;31:&lt;STRONG&gt;.cpio=00;31:&lt;/STRONG&gt;.jpg=00;35:&lt;STRONG&gt;.gif=00;35:&lt;/STRONG&gt;.bmp=00;35:&lt;STRONG&gt;.xbm=00;35:&lt;/STRONG&gt;.xpm=00;35:&lt;STRONG&gt;.png=00;35:&lt;/STRONG&gt;.tif=00;35:&lt;/P&gt;&lt;P&gt;GNOME_KEYRING_SOCKET=/tmp/keyring-xO6bFF/socket&lt;/P&gt;&lt;P&gt;SSH_AUTH_SOCK=/tmp/ssh-QhbwSH2940/agent.2940&lt;/P&gt;&lt;P&gt;SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/2940&lt;/P&gt;&lt;P&gt;MAIL=/var/spool/mail/root&lt;/P&gt;&lt;P&gt;DESKTOP_SESSION=default&lt;/P&gt;&lt;P&gt;PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2re1.4.2_12&lt;/P&gt;&lt;P&gt;GDM_XSERVER_LOCATION=local&lt;/P&gt;&lt;P&gt;INPUTRC=/etc/inputrc&lt;/P&gt;&lt;P&gt;PWD=/&lt;/P&gt;&lt;P&gt;JAVA_HOME=/usr/java/j2re1.4.2_12/bin&lt;/P&gt;&lt;P&gt;XMODIFIERS=@im=none&lt;/P&gt;&lt;P&gt;LANG=en_US.UTF-8&lt;/P&gt;&lt;P&gt;GDMSESSION=default&lt;/P&gt;&lt;P&gt;SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass&lt;/P&gt;&lt;P&gt;HOME=/root&lt;/P&gt;&lt;P&gt;SHLVL=2&lt;/P&gt;&lt;P&gt;GNOME_DESKTOP_SESSION_ID=Default&lt;/P&gt;&lt;P&gt;LOGNAME=root&lt;/P&gt;&lt;P&gt;CVS_RSH=ssh&lt;/P&gt;&lt;P&gt;DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-u5Zubm461a,guid=33b69c4c402aa6d9fde81c5ea4b14700&lt;/P&gt;&lt;P&gt;LESSOPEN=|/usr/bin/lesspipe.sh %s&lt;/P&gt;&lt;P&gt;DISPLAY=:0.0&lt;/P&gt;&lt;P&gt;G_BROKEN_FILENAMES=1&lt;/P&gt;&lt;P&gt;COLORTERM=gnome-terminal&lt;/P&gt;&lt;P&gt;XAUTHORITY=/tmp/.gdm714HJV&lt;/P&gt;&lt;P&gt;_=/bin/env&lt;/P&gt;&lt;P&gt;[root@localhost /]# $echo $PATH&lt;/P&gt;&lt;P&gt;bash: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2re1.4.2_12: No such file or directory&lt;/P&gt;&lt;P&gt;[root@localhost /]# &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will guide me towards the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahsan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ahsan Rizvi on Sep 24, 2010 8:30 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 06:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279771#M72486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T06:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279772#M72487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Please find the steps I am following to install JAVA on Linux. Please let me know where I am creating mistake. Please note that I'm installing Java for SAP on 32 bit server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;32bit Linux uses the &lt;STRONG&gt;Sun&lt;/STRONG&gt; JDK, so forget about the IBM one. The IBM JDK is used only on x86_64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; -rwxrwxrwx 1 root root 35513469 May 10  2006 j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any reason why you use such an old JDK? The current one is 1.4.2_27, I download that one and install it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find out where it's been installed used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;rpm -qlp &amp;lt;rpm package&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To actually &lt;U&gt;use&lt;/U&gt; it you have to change the environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 10:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279772#M72487</guid>
      <dc:creator>markus_doehr2</dc:creator>
      <dc:date>2010-09-24T10:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279773#M72488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#cd /usr/bin&lt;/P&gt;&lt;P&gt;#mv java javadef&lt;/P&gt;&lt;P&gt;#ln -s /usr/j2re1.4.2_12/bin/java  /usr/bin/java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 16:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279773#M72488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-29T16:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279774#M72489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 18:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279774#M72489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-29T18:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279775#M72490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have installed java on Linux by exactly performing your steps given, however when check the JAVA -Version it still says no java installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Detailed output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@localhost /]# which java&lt;/P&gt;&lt;P&gt;/usr/bin/java&lt;/P&gt;&lt;P&gt;[root@localhost /]# java -version&lt;/P&gt;&lt;P&gt;java version "1.4.2"&lt;/P&gt;&lt;P&gt;gij (GNU libgcj) version 4.1.2 20070626 (Red Hat 4.1.2-14)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copyright (C) 2006 Free Software Foundation, Inc.&lt;/P&gt;&lt;P&gt;This is free software; see the source for copying conditions.  There is NO&lt;/P&gt;&lt;P&gt;warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/P&gt;&lt;P&gt;[root@localhost /]# ls -ltr&lt;/P&gt;&lt;P&gt;total 70406&lt;/P&gt;&lt;P&gt;-rw-r&lt;DEL&gt;r&lt;/DEL&gt;   1 root root 35513469 May 10  2006 j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Oct 11  2006 srv&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Oct 11  2006 opt&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Oct 11  2006 mnt&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Oct 11  2006 home&lt;/P&gt;&lt;P&gt;-rwxrwxrwx   1 root root 36337163 Sep 20 18:09 j2sdk-1_4_2_12-linux-i586.bin&lt;/P&gt;&lt;P&gt;drwx------   2 root root    16384 Sep 24 22:18 lost+found&lt;/P&gt;&lt;P&gt;drwxr-xr-x   3 root root     4096 Sep 24 22:20 sapmnt&lt;/P&gt;&lt;P&gt;drwxr-xr-x   3 root root     4096 Sep 24 22:21 oracle&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Sep 24 22:22 selinux&lt;/P&gt;&lt;P&gt;drwxr-xr-x  15 root root     4096 Sep 24 22:25 usr&lt;/P&gt;&lt;P&gt;drwxr-xr-x   4 root root     1024 Sep 24 22:26 boot&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root     4096 Sep 24 22:27 bin&lt;/P&gt;&lt;P&gt;drwxr-xr-x  14 root root     4096 Sep 24 22:27 lib&lt;/P&gt;&lt;P&gt;drwxr-xr-x  21 root root     4096 Sep 24 22:29 var&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root    12288 Sep 24 22:31 sbin&lt;/P&gt;&lt;P&gt;dr-xr-xr-x 141 root root        0 Sep 24 22:34 proc&lt;/P&gt;&lt;P&gt;drwxr-xr-x  11 root root        0 Sep 24 22:34 sys&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root        0 Sep 24 22:34 misc&lt;/P&gt;&lt;P&gt;drwxr-xr-x   2 root root        0 Sep 24 22:34 net&lt;/P&gt;&lt;P&gt;drwxr-xr-x  11 root root     4320 Sep 24 22:43 dev&lt;/P&gt;&lt;P&gt;drwxr-xr-x   3 root root     4096 Sep 24 22:45 media&lt;/P&gt;&lt;P&gt;drwxr-xr-x   4 root root     4096 Sep 24 22:46 dump&lt;/P&gt;&lt;P&gt;drwxr-xr-x  91 root root     4096 Sep 24 22:46 etc&lt;/P&gt;&lt;P&gt;drwxrwxr-x   9 root root     4096 Sep 24 22:57 j2sdk1.4.2_12&lt;/P&gt;&lt;P&gt;drwxrwxrwt  11 root root     4096 Sep 24 22:58 tmp&lt;/P&gt;&lt;P&gt;drwxr-x---  15 root root     4096 Sep 24 22:58 root&lt;/P&gt;&lt;P&gt;[root@localhost /]# chmod 777 j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;[root@localhost /]# rpm -Uvh j2sdk-1_4_2_12-linux-i586.rpm&lt;/P&gt;&lt;P&gt;Preparing...                ########################################### [100%]&lt;/P&gt;&lt;P&gt;   1:j2sdk                  ########################################### [100%]&lt;/P&gt;&lt;P&gt;[root@localhost /]# which java&lt;/P&gt;&lt;P&gt;/usr/bin/java&lt;/P&gt;&lt;P&gt;[root@localhost /]# java -fullversion&lt;/P&gt;&lt;P&gt;java full version "gcj-1.4.2"&lt;/P&gt;&lt;P&gt;[root@localhost /]# alternatives --config java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is 1 program that provides 'java'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Selection    Command&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------" /&gt;&lt;P&gt;*+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter to keep the current selection[+], or type selection number: &lt;/P&gt;&lt;P&gt;[root@localhost /]# ls -l /usr/bin/java&lt;/P&gt;&lt;P&gt;lrwxrwxrwx 1 root root 22 Sep 24 22:28 /usr/bin/java -&amp;gt; /etc/alternatives/java&lt;/P&gt;&lt;P&gt;[root@localhost /]# echo $JAVA_HOME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@localhost /]# &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahsan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ahsan Rizvi on Sep 30, 2010 7:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 05:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279775#M72490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-30T05:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279776#M72491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you forgot to set environment variable JAVA_HOME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set it to /usr/bin/java&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 13:37:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279776#M72491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-30T13:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279777#M72492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already set environment variable JAVA_HOME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@localhost /]# export JAVA_HOME=/usr/java/j2re1.4.2_12/bin &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@localhost /]# export PATH=$PATH:/usr/java/j2re1.4.2_12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the result is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@localhost /# which java&lt;/P&gt;&lt;P&gt;/usr/bin/java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@localhost /# java -fullversion&lt;/P&gt;&lt;P&gt;java full version "gcj-1.4.2"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I'm not understanding anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahsan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 04:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279777#M72492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-01T04:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279778#M72493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the below mentioned commands &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export JAVA_HOME=/usr/java/j2re1.4.2_12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export PATH=$PATH:/usr/java/j2re1.4.2_12/bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a slight modification in your command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak Kori&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 07:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279778#M72493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-01T07:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find JAVA after installation</title>
      <link>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279779#M72494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ahsan,&lt;/P&gt;&lt;P&gt;the reason behind Deepak suggestion is, that the $PATH variable checks the path from the first given directory to the last given directory. If you place the /usr/java/j2re1.4.2_12 path at the end of the $PATH variable, if will still use a java that is found earlier in the path. Therefore, make sure that /usr/java/j2re1.4.2_12 comes first. With this you ensure that this directory is searched first.&lt;/P&gt;&lt;P&gt;Basically, $PATH variables are very basics in IT and work the same on Windows and UNIX systems. It is quite strange that you bypassed this concept until now &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks, Hannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 08:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/not-able-to-find-java-after-installation/qaa-p/7279779#M72494</guid>
      <dc:creator>hannes_kuehnemund</dc:creator>
      <dc:date>2010-10-01T08:59:17Z</dc:date>
    </item>
  </channel>
</rss>

