<?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 -version not working for user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-version-not-working-for-user/m-p/4913452#M406523</link>
    <description>RESOLUTION&lt;BR /&gt;&lt;BR /&gt; The JVM will try to create or open a directory named &lt;BR /&gt;/var/tmp/hsperfdata_myuser where myuser is the name of the user running the JVM. (In my case it was /var/tmp/hsperfdata_pipeuser)&lt;BR /&gt;&lt;BR /&gt;Once the directory is open, the JVM will try to create a work file in that directory.&lt;BR /&gt;&lt;BR /&gt;This error will occur if the user "myuser" launches the JVM and the directory /var/tmp/hsperfdata_myuser already exists, but myuser does not have read/write permission to that directory. The JVM create/write to the new work file will fail and will cause the JVM to generate the error&lt;BR /&gt;message.&lt;BR /&gt;&lt;BR /&gt;To correct the problem, the directory /var/tmp/hsperfdata_myuser&lt;BR /&gt;should be removed and/or the permissions of the hsperfdata_myuser directory should be modified to allow read/write access to that directory for myuser. &lt;BR /&gt;&lt;BR /&gt;I my case I just deleted directory called /var/tmp/hpperfdata_pipeuser and problem was resolved.</description>
    <pubDate>Tue, 19 Jul 2005 13:20:15 GMT</pubDate>
    <dc:creator>Sunil Talreja</dc:creator>
    <dc:date>2005-07-19T13:20:15Z</dc:date>
    <item>
      <title>java -version not working for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-version-not-working-for-user/m-p/4913451#M406522</link>
      <description>Runtime.loadLibrary throws incorrect exception &lt;BR /&gt;Document Information Table &lt;BR /&gt;Runtime.loadLibrary throws incorrect exception DocId: KBRC00014504   Updated: 3/26/04 4:10:00 PM &lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;  When doing a simple "java -version" one user got this error:&lt;BR /&gt;&lt;BR /&gt;$ ./java -version&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;****************&lt;BR /&gt;Another exception has been detected while we were handling last&lt;BR /&gt;error. Dumping information about last error:&lt;BR /&gt;ERROR REPORT FILE = (N/A)&lt;BR /&gt;PC                = c42227cb&lt;BR /&gt;SIGNAL            = 11&lt;BR /&gt;FUNCTION NAME     = (N/A)&lt;BR /&gt;OFFSET            = 0xFFFFFFFF&lt;BR /&gt;LIBRARY NAME      = (N/A)&lt;BR /&gt;Please check ERROR REPORT FILE for further information, if there&lt;BR /&gt;is any. Good bye. Abort&lt;BR /&gt;&lt;BR /&gt;  But other users are able to run java fine.&lt;BR /&gt;  Why is this error occurring only with some users?</description>
      <pubDate>Tue, 19 Jul 2005 13:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-version-not-working-for-user/m-p/4913451#M406522</guid>
      <dc:creator>Sunil Talreja</dc:creator>
      <dc:date>2005-07-19T13:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: java -version not working for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-version-not-working-for-user/m-p/4913452#M406523</link>
      <description>RESOLUTION&lt;BR /&gt;&lt;BR /&gt; The JVM will try to create or open a directory named &lt;BR /&gt;/var/tmp/hsperfdata_myuser where myuser is the name of the user running the JVM. (In my case it was /var/tmp/hsperfdata_pipeuser)&lt;BR /&gt;&lt;BR /&gt;Once the directory is open, the JVM will try to create a work file in that directory.&lt;BR /&gt;&lt;BR /&gt;This error will occur if the user "myuser" launches the JVM and the directory /var/tmp/hsperfdata_myuser already exists, but myuser does not have read/write permission to that directory. The JVM create/write to the new work file will fail and will cause the JVM to generate the error&lt;BR /&gt;message.&lt;BR /&gt;&lt;BR /&gt;To correct the problem, the directory /var/tmp/hsperfdata_myuser&lt;BR /&gt;should be removed and/or the permissions of the hsperfdata_myuser directory should be modified to allow read/write access to that directory for myuser. &lt;BR /&gt;&lt;BR /&gt;I my case I just deleted directory called /var/tmp/hpperfdata_pipeuser and problem was resolved.</description>
      <pubDate>Tue, 19 Jul 2005 13:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-version-not-working-for-user/m-p/4913452#M406523</guid>
      <dc:creator>Sunil Talreja</dc:creator>
      <dc:date>2005-07-19T13:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: java -version not working for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-version-not-working-for-user/m-p/4913453#M406524</link>
      <description>See Solution above</description>
      <pubDate>Tue, 19 Jul 2005 14:00:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-version-not-working-for-user/m-p/4913453#M406524</guid>
      <dc:creator>Sunil Talreja</dc:creator>
      <dc:date>2005-07-19T14:00:08Z</dc:date>
    </item>
  </channel>
</rss>

