<?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 JAVA: Cannot execute HPjconfig in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441987#M707604</link>
    <description>Hi,&lt;BR /&gt; &lt;BR /&gt;customer wanted HP's port of JDK 1.4.X installed on their box.&lt;BR /&gt;So I downloaded and installed the stuff,&lt;BR /&gt;and was daring enough to let the /opt/java symlink point to the new installation target of /opt/java1.4&lt;BR /&gt;Now developers (to whom I don't have contact, because they should be able to help me with this Java stuff) are experiencing problem &lt;BR /&gt;that they relate to inappropiate Kernel tunables.&lt;BR /&gt;To aid me with sorting out fitting tunables I downloaded HPjconfig from here&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/java2/hpjconfig/index.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/java2/hpjconfig/index.html&lt;/A&gt;&lt;BR /&gt;I then untarred the archive to a staging directory and ran the following java command (as the download site's terse install instructions suggested)&lt;BR /&gt;Yet, I'm not able to execute the HPjconfig class, and this is what I get:&lt;BR /&gt;  &lt;BR /&gt; &lt;BR /&gt;# /opt/java/bin/java -cp /opt/build/tmp/HPjconfig.jar:/opt/build/HPjconfig_data.jar HPjconfig        &lt;BR /&gt;Model.Model = 9000/800/L1500-7x&lt;BR /&gt;JVM version = 1.4.2.06&lt;BR /&gt;OS = HP-UX&lt;BR /&gt;OS version = B.11.00&lt;BR /&gt;Model = 9000/800/L1500-7x&lt;BR /&gt;ProgressHistory: &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgramVersion = 2.1&lt;BR /&gt;DataVersion = 2.1.1&lt;BR /&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: checkProgramAndDataVersions() &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: construct &amp;amp; init of VariousGUIitems-1 &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: constructing InfoUpdatePanel &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: constructing JavaApps &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: constructing SuperUserPanel &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:     &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt; &lt;BR /&gt; &lt;BR /&gt; Usage:  java -Xbootclasspath/p:HPjconfig.jar:HPjconfig_data.jar HPjconfig &lt;BR /&gt; &lt;BR /&gt;I'm not into Java, and so I don't no the subtle differences between an ordinary Java Classpath (that the website suggested) and the Xbootclasspath the Java interpreter suggests above.&lt;BR /&gt;A simple substitution of -cp by -Xbootclasspath didn't work either.&lt;BR /&gt;I'm not into Java&lt;BR /&gt;(never really got infected by the Java hype)&lt;BR /&gt;so I'm a bit lost how to carry on.&lt;BR /&gt;I looked into the Java archive, and can see that there exists a HPjconfig.class file.&lt;BR /&gt;I can remember that cleanly written Java classes provide a documentation mechanismen called Javadoc (I think similar to Perldoc).&lt;BR /&gt;But I cannot recall how to invoke it in order to see the classe's interface documentation.&lt;BR /&gt; &lt;BR /&gt;# /opt/java1.4/bin/jar -tf /opt/build/tmp/HPjconfig.jar|grep HPjconfig&lt;BR /&gt;HPjconfig$1.class&lt;BR /&gt;HPjconfig$2.class&lt;BR /&gt;HPjconfig$3.class&lt;BR /&gt;HPjconfig$4.class&lt;BR /&gt;HPjconfig$5.class&lt;BR /&gt;HPjconfig$6.class&lt;BR /&gt;HPjconfig.class&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Dec 2004 06:17:46 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2004-12-13T06:17:46Z</dc:date>
    <item>
      <title>JAVA: Cannot execute HPjconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441987#M707604</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;customer wanted HP's port of JDK 1.4.X installed on their box.&lt;BR /&gt;So I downloaded and installed the stuff,&lt;BR /&gt;and was daring enough to let the /opt/java symlink point to the new installation target of /opt/java1.4&lt;BR /&gt;Now developers (to whom I don't have contact, because they should be able to help me with this Java stuff) are experiencing problem &lt;BR /&gt;that they relate to inappropiate Kernel tunables.&lt;BR /&gt;To aid me with sorting out fitting tunables I downloaded HPjconfig from here&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/java2/hpjconfig/index.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/java2/hpjconfig/index.html&lt;/A&gt;&lt;BR /&gt;I then untarred the archive to a staging directory and ran the following java command (as the download site's terse install instructions suggested)&lt;BR /&gt;Yet, I'm not able to execute the HPjconfig class, and this is what I get:&lt;BR /&gt;  &lt;BR /&gt; &lt;BR /&gt;# /opt/java/bin/java -cp /opt/build/tmp/HPjconfig.jar:/opt/build/HPjconfig_data.jar HPjconfig        &lt;BR /&gt;Model.Model = 9000/800/L1500-7x&lt;BR /&gt;JVM version = 1.4.2.06&lt;BR /&gt;OS = HP-UX&lt;BR /&gt;OS version = B.11.00&lt;BR /&gt;Model = 9000/800/L1500-7x&lt;BR /&gt;ProgressHistory: &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgramVersion = 2.1&lt;BR /&gt;DataVersion = 2.1.1&lt;BR /&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: checkProgramAndDataVersions() &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: construct &amp;amp; init of VariousGUIitems-1 &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: constructing InfoUpdatePanel &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: constructing JavaApps &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:   &amp;gt;&amp;gt;Completed: constructing SuperUserPanel &lt;BR /&gt;ProgressHistory:   &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt;ProgressHistory:     &amp;lt;&lt;STARTED&gt;&lt;/STARTED&gt; &lt;BR /&gt; &lt;BR /&gt; Usage:  java -Xbootclasspath/p:HPjconfig.jar:HPjconfig_data.jar HPjconfig &lt;BR /&gt; &lt;BR /&gt;I'm not into Java, and so I don't no the subtle differences between an ordinary Java Classpath (that the website suggested) and the Xbootclasspath the Java interpreter suggests above.&lt;BR /&gt;A simple substitution of -cp by -Xbootclasspath didn't work either.&lt;BR /&gt;I'm not into Java&lt;BR /&gt;(never really got infected by the Java hype)&lt;BR /&gt;so I'm a bit lost how to carry on.&lt;BR /&gt;I looked into the Java archive, and can see that there exists a HPjconfig.class file.&lt;BR /&gt;I can remember that cleanly written Java classes provide a documentation mechanismen called Javadoc (I think similar to Perldoc).&lt;BR /&gt;But I cannot recall how to invoke it in order to see the classe's interface documentation.&lt;BR /&gt; &lt;BR /&gt;# /opt/java1.4/bin/jar -tf /opt/build/tmp/HPjconfig.jar|grep HPjconfig&lt;BR /&gt;HPjconfig$1.class&lt;BR /&gt;HPjconfig$2.class&lt;BR /&gt;HPjconfig$3.class&lt;BR /&gt;HPjconfig$4.class&lt;BR /&gt;HPjconfig$5.class&lt;BR /&gt;HPjconfig$6.class&lt;BR /&gt;HPjconfig.class&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Dec 2004 06:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441987#M707604</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-12-13T06:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA: Cannot execute HPjconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441988#M707605</link>
      <description>Hi Ralph, &lt;BR /&gt;Have you the latest required patches for java1.4?&lt;BR /&gt;I just tried on a rp5450 with multiple java version installed but none in any path and Im not into java either...&lt;BR /&gt;So first attempt:&lt;BR /&gt;I went where I downloaded HPjconfig and did the same command as you but giving the path to java1.4 - nothing else:&lt;BR /&gt; # /opt/java1.4/bin/java -Xbootclasspath/p:HPjconfig.jar:HPjconfig_data.jar HPjconfig &lt;BR /&gt; - It failed because I didnt set DISPLAY for it to open X appl HPconfig.&lt;BR /&gt;set DISPLAY and tried again this time it worked... I didnt fiddle with classpaths... just executed from where the product is&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Mon, 13 Dec 2004 10:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441988#M707605</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-12-13T10:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA: Cannot execute HPjconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441989#M707606</link>
      <description>Forgot to say I executed as mentionned in the readme: as root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Mon, 13 Dec 2004 10:40:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441989#M707606</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-12-13T10:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA: Cannot execute HPjconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441990#M707607</link>
      <description>Victor,&lt;BR /&gt; &lt;BR /&gt;as Java being notorious for GUI applications&lt;BR /&gt;(have you ever come accross a Java program that  has a pure command line interface in good old Unix style?), exporting DISPLAY to my Xserver was the first thing I tried.&lt;BR /&gt;For a few tenth of a second I even could realize a window attempting to pop up.&lt;BR /&gt;But then it finished with the line I posted.&lt;BR /&gt;Apropos, /opt/java is a symlink that points to JDK1.4 install target dir, so it should have invoked the "right" interpreter.&lt;BR /&gt;  &lt;BR /&gt;  /opt/java/bin/java -version&lt;BR /&gt;java version "1.4.2.06"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.06-041015-11:00)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.06-041015-12:38-PA_RISC2.0 PA2.0 (&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;But your mentioning of the latest Java patch gizmo is well worth to be checked.</description>
      <pubDate>Tue, 14 Dec 2004 03:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-cannot-execute-hpjconfig/m-p/3441990#M707607</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-12-14T03:46:58Z</dc:date>
    </item>
  </channel>
</rss>

