<?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: java in HP UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116539#M447052</link>
    <description>It's going to take a little effort and some investigation to determine which one is actually being used.  I would start by using the find command, grepping for java1.2 or java1.3 to see which of your applications might be using one or the other, then proceed from the there:&lt;BR /&gt;&lt;BR /&gt;find /apps -exec grep -l "java1.2" {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Mon, 30 Jun 2008 10:02:42 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2008-06-30T10:02:42Z</dc:date>
    <item>
      <title>java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116538#M447051</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I'm cleaning up the disk spaces in our HP UX, and saw 2 Java folder which are java1.2 and java1.3 in /opt.&lt;BR /&gt;&lt;BR /&gt;I was wondering, can I delete one of them ?&lt;BR /&gt;&lt;BR /&gt;2001 java1.2&lt;BR /&gt;2006 java1.3&lt;BR /&gt;&lt;BR /&gt;thanks !!&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jun 2008 09:48:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116538#M447051</guid>
      <dc:creator>DnD_1</dc:creator>
      <dc:date>2008-06-30T09:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116539#M447052</link>
      <description>It's going to take a little effort and some investigation to determine which one is actually being used.  I would start by using the find command, grepping for java1.2 or java1.3 to see which of your applications might be using one or the other, then proceed from the there:&lt;BR /&gt;&lt;BR /&gt;find /apps -exec grep -l "java1.2" {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 30 Jun 2008 10:02:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116539#M447052</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-06-30T10:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116540#M447053</link>
      <description>this is not a good idea. because there may be some dependency in perspective from your applications.</description>
      <pubDate>Mon, 30 Jun 2008 10:03:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116540#M447053</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-06-30T10:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116541#M447054</link>
      <description>You do know there are also java1.4 and java1.5 available.</description>
      <pubDate>Mon, 30 Jun 2008 10:37:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116541#M447054</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-30T10:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116542#M447055</link>
      <description>You should check the access time of files in each of the java directories. Specifically the binary "java" itself but access to any significant file would indicate they are in &lt;BR /&gt;use.&lt;BR /&gt;&lt;BR /&gt;Something like &lt;BR /&gt;&lt;BR /&gt;find /opt/java1.4 -type f -atime -30 &lt;BR /&gt;&lt;BR /&gt;would show you the files that have been accessed in the last 30 days. To find out when they were accessed use&lt;BR /&gt;&lt;BR /&gt;find /opt/java1.4 -type f -atime -30 -exec ll -u {} \;&lt;BR /&gt;&lt;BR /&gt;Also think about what is running on the server. Is it likely that any of the products would use java? And keep in mind that most add-on apps and databases (including HP-UX bundled products) supply their own java and rarely depend on the OS one. &lt;BR /&gt;&lt;BR /&gt;If you decide that these two are not being use, do not just delete them, use swremove to remove them. But do download and install a recent java version before you delete any of the old ones.</description>
      <pubDate>Mon, 30 Jun 2008 10:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116542#M447055</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-30T10:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116543#M447056</link>
      <description>hi TTR..&lt;BR /&gt;&lt;BR /&gt;thanks !!&lt;BR /&gt;&lt;BR /&gt;when i run the command you gave me..&lt;BR /&gt;&lt;BR /&gt;it return nothing...like&lt;BR /&gt;&lt;BR /&gt;hpux:/opt&amp;gt;find java1.2 -type f -atime -30&lt;BR /&gt;hpux:/opt&amp;gt;find java1.3 -type f -atime -30&lt;BR /&gt;&lt;BR /&gt;is does mean they not been used ? and i can safely swremove them ? &lt;BR /&gt;&lt;BR /&gt;thanks again !</description>
      <pubDate>Mon, 30 Jun 2008 11:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116543#M447056</guid>
      <dc:creator>DnD_1</dc:creator>
      <dc:date>2008-06-30T11:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116544#M447057</link>
      <description>It looks that way. But to be sure go to each java binary folder and look at the access time with "ll -u".</description>
      <pubDate>Mon, 30 Jun 2008 17:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116544#M447057</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-30T17:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116545#M447058</link>
      <description>Leave them as is...Java is a painful study in backwards incompatibility. Unless Java code writers take extraordinary steps to avoid compatibility issues, your web server will probably need on of these older versions someday. I have found no simple way to remove these different versions -- some depend on each other.&lt;BR /&gt; &lt;BR /&gt;Now if no one on your system is writing and Java programs, and you're not running a web server (ie, Apache), then you can try using swremove to remove all the code.</description>
      <pubDate>Mon, 30 Jun 2008 23:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116545#M447058</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-06-30T23:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116546#M447059</link>
      <description>you can delete both of them, if nothing on the box you use needs java.&lt;BR /&gt;&lt;BR /&gt;you can't delete any of them, if there are several tools on the system that need java, and they need different versions.</description>
      <pubDate>Tue, 01 Jul 2008 06:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116546#M447059</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2008-07-01T06:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: java in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116547#M447060</link>
      <description>As advised, let it be</description>
      <pubDate>Thu, 03 Jul 2008 17:28:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-in-hp-ux/m-p/5116547#M447060</guid>
      <dc:creator>DnD_1</dc:creator>
      <dc:date>2008-07-03T17:28:19Z</dc:date>
    </item>
  </channel>
</rss>

