<?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: sh: java: not found in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877307#M279486</link>
    <description>run ll -d /opt/java* and find where is your java installed.&lt;BR /&gt;&lt;BR /&gt;Yang</description>
    <pubDate>Tue, 10 Oct 2006 02:49:06 GMT</pubDate>
    <dc:creator>Yang Qin_1</dc:creator>
    <dc:date>2006-10-10T02:49:06Z</dc:date>
    <item>
      <title>sh: java: not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877306#M279485</link>
      <description>Could someone help me on this.&lt;BR /&gt;&lt;BR /&gt;I am trying to check what version of java is installed in our box.&lt;BR /&gt;&lt;BR /&gt;I tried to check it first using the ff command.&lt;BR /&gt;# swlist -l product | grep -i java&lt;BR /&gt;&lt;BR /&gt;and got this.&lt;BR /&gt;  ISEE-Java             A.01.31.12     RST Java Runtime13-13109&lt;BR /&gt;  Java-PlugIn1-2        1.2.2.15.00    Plug-In for Java 2&lt;BR /&gt;  Java2RTE_base         1.2.2.15.00    Java 2 RTE (700/800), PA1.1 Portable&lt;BR /&gt;  Java2RTE_doc          1.2.2.15.00    Java 2 RTE (700/800), Distribution Licens&lt;BR /&gt;e&lt;BR /&gt;  Java2RTE_perf         1.2.2.15.00    Java 2 RTE (700/800), PA2.0 Performance A&lt;BR /&gt;dd On&lt;BR /&gt;  Jdk13                 1.3.1.13.01    Java2 1.3 SDK&lt;BR /&gt;  Jdk14                 1.4.2.04.00    Java2 1.4 SDK&lt;BR /&gt;  Jpi13                 1.3.1.13.01    Java2 1.3 Netscape Plugin&lt;BR /&gt;  Jpi14                 1.4.2.04.00    Java2 1.4 Netscape Plugin&lt;BR /&gt;  Jre13                 1.3.1.13.01    Java2 1.3 RTE 1.3&lt;BR /&gt;  Jre14                 1.4.2.04.00    Java2 1.4 RTE&lt;BR /&gt;&lt;BR /&gt;However, when i tried accessing the command : #opt/java1.3/bin/java -version &lt;BR /&gt;sh: java: not found&lt;BR /&gt;&lt;BR /&gt;Is there something wrong with my command?</description>
      <pubDate>Tue, 10 Oct 2006 02:37:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877306#M279485</guid>
      <dc:creator>Roslyn Faicol</dc:creator>
      <dc:date>2006-10-10T02:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: sh: java: not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877307#M279486</link>
      <description>run ll -d /opt/java* and find where is your java installed.&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Tue, 10 Oct 2006 02:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877307#M279486</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-10-10T02:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: sh: java: not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877308#M279487</link>
      <description>Hi Roslyn,&lt;BR /&gt;you may be missing a "/" before opt ?&lt;BR /&gt;/opt/java1.3/bin/java -version&lt;BR /&gt;&lt;BR /&gt;You could also try to verify the path with:&lt;BR /&gt;which java&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Oct 2006 02:50:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877308#M279487</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-10-10T02:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: sh: java: not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877309#M279488</link>
      <description>I run the command :&lt;BR /&gt;# ll -d /opt/java*&lt;BR /&gt;here's the result. &lt;BR /&gt;&lt;BR /&gt;dr-xr-xr-x   4 bin        bin             96 Jun  3  2005 /opt/java1.2&lt;BR /&gt;dr-xr-xr-x   7 bin        bin           8192 Jun  3  2005 /opt/java1.3&lt;BR /&gt;dr-xr-xr-x   8 bin        bin           8192 Jun  3  2005 /opt/java1.4</description>
      <pubDate>Tue, 10 Oct 2006 02:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877309#M279488</guid>
      <dc:creator>Roslyn Faicol</dc:creator>
      <dc:date>2006-10-10T02:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: sh: java: not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877310#M279489</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Thanks, you are correct I did miss the /.  However, there are two java installed in the system,how would I know which is currently being used? &lt;BR /&gt;&lt;BR /&gt;java version "1.3.1.13"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.13-040210-15:41)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.13-_10_feb_2004_17_15 PA2.0, mixed&lt;BR /&gt; mode)&lt;BR /&gt;svprfaic@unphod54:/&amp;gt;/opt/java1.4/bin/java -version&lt;BR /&gt;java version "1.4.2.04"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.04-040628-18:09)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.04-040628-20:03-PA_RISC2.0 PA2.0 (&lt;BR /&gt;aCC_AP), mixed mode)&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 10 Oct 2006 02:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877310#M279489</guid>
      <dc:creator>Roslyn Faicol</dc:creator>
      <dc:date>2006-10-10T02:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: sh: java: not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877311#M279490</link>
      <description>Hi,&lt;BR /&gt;most systems create a link from whichever version they want to use to /opt/java/bin, as most installs use this location.&lt;BR /&gt;&lt;BR /&gt;However, if you prefer you can include your chosen java location in $PATH:&lt;BR /&gt;First check existsing path value:&lt;BR /&gt;echo $PATH | grep -i java&lt;BR /&gt;If not set, you can add with:&lt;BR /&gt;export PATH=$PATH:/opt/java1.3/bin&lt;BR /&gt;&lt;BR /&gt;The export command could also be added to your .profile script in your home directory.&lt;BR /&gt;&lt;BR /&gt;If your "which java" command did not return the location of a java directory, you environment does not include a valid java location.&lt;BR /&gt;See "man which"</description>
      <pubDate>Tue, 10 Oct 2006 03:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877311#M279490</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-10-10T03:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: sh: java: not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877312#M279491</link>
      <description>Thanks for your patience... I understand everything clearly.</description>
      <pubDate>Tue, 10 Oct 2006 04:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877312#M279491</guid>
      <dc:creator>Roslyn Faicol</dc:creator>
      <dc:date>2006-10-10T04:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: sh: java: not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877313#M279492</link>
      <description>Maam... This is Ferdinand G. Mag-isa... are you a professor? do you know miss Viana?</description>
      <pubDate>Sat, 29 Dec 2007 05:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-java-not-found/m-p/3877313#M279492</guid>
      <dc:creator>Ferdinand G. Mag-isa</dc:creator>
      <dc:date>2007-12-29T05:56:08Z</dc:date>
    </item>
  </channel>
</rss>

