<?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>topic Re: RHEL JAVA_HOME directory in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rhel-java-home-directory/m-p/3956080#M27271</link>
    <description>which java&lt;BR /&gt;&lt;BR /&gt;find / -name "java*" -print</description>
    <pubDate>Tue, 06 Mar 2007 09:10:06 GMT</pubDate>
    <dc:creator>Basheer_2</dc:creator>
    <dc:date>2007-03-06T09:10:06Z</dc:date>
    <item>
      <title>RHEL JAVA_HOME directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel-java-home-directory/m-p/3956078#M27269</link>
      <description>Hi &lt;BR /&gt;how I know where is the home directory for java.&lt;BR /&gt;&lt;BR /&gt;I  am installing a AMS (alphaserver manager station ) software in a linux version RHEL version 4 update 3 , &lt;BR /&gt;&lt;BR /&gt;I have to edit the /etc/sysconfig/ams file and set the jave home directory , but I dont know where it is &lt;BR /&gt;&lt;BR /&gt;Some command to check this ?&lt;BR /&gt;&lt;BR /&gt;Thank you &lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Mar 2007 22:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel-java-home-directory/m-p/3956078#M27269</guid>
      <dc:creator>Richard_Anderson</dc:creator>
      <dc:date>2007-03-05T22:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL JAVA_HOME directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel-java-home-directory/m-p/3956079#M27270</link>
      <description>"rpm -qa |grep java" or "rpm -qa |grep jvm" will find out the names of the installed Java packages.&lt;BR /&gt;&lt;BR /&gt;Then, "rpm -ql &lt;NAME-OF-PACKAGE&gt;" will list the pathnames of all files related to the named package. You can use this to find out exactly where the files related to the package are located.&lt;BR /&gt;&lt;BR /&gt;On a RHEL4, any Java Virtual Machines installed from the distribution's RPM packages are located under /usr/lib/jvm.&lt;BR /&gt;&lt;BR /&gt;There are lots of symbolic links in the /usr/lib/jvm directory, so that you can choose the level of specificity you want.&lt;BR /&gt;&lt;BR /&gt;If you want to use the "default" Java, the correct setting would probably be &lt;BR /&gt;JAVA_HOME=/usr/lib/jvm/java&lt;BR /&gt;&lt;BR /&gt;If you require the newest patch level of Java 1.4.2, then you could use&lt;BR /&gt;JAVA_HOME=/usr/lib/jvm/java-1.4.2&lt;BR /&gt;&lt;BR /&gt;Using the full Java package directory name is certainly possible:&lt;BR /&gt;JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.6&lt;BR /&gt;However, if you do this, you have to check your settings after each time you run up2date, as you will need to edit your path to benefit from any Java patch level updates.&lt;BR /&gt;&lt;BR /&gt;If you don't need the Java development tools, you can substitute the word "jre" for "java" in the above paths: this will give you the Java Runtime Environment only. &lt;BR /&gt;&lt;BR /&gt;If you installed the Java without using RPM packages (e.g. by downloading the self-extracting file from java.sun.com) the JAVA_HOME directory of that Java installation is wherever you put it. I'd strongly prefer RPM installations.&lt;/NAME-OF-PACKAGE&gt;</description>
      <pubDate>Tue, 06 Mar 2007 03:12:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel-java-home-directory/m-p/3956079#M27270</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-03-06T03:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL JAVA_HOME directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel-java-home-directory/m-p/3956080#M27271</link>
      <description>which java&lt;BR /&gt;&lt;BR /&gt;find / -name "java*" -print</description>
      <pubDate>Tue, 06 Mar 2007 09:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel-java-home-directory/m-p/3956080#M27271</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2007-03-06T09:10:06Z</dc:date>
    </item>
  </channel>
</rss>

