<?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 execute permission denied in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5109000#M690239</link>
    <description>&amp;gt;Robert-Jan: .../jre1.6.0_04/bin/java: ELF-32 executable object file&lt;BR /&gt;&amp;gt;You running a 32bit version on a 64 bit server!&lt;BR /&gt;&lt;BR /&gt;So?  There is nothing wrong with that.  HP-UX is quite happy running 32 bit applications.&lt;BR /&gt;But there is something missing on the end:&lt;BR /&gt;/usr/bin/ksh:   ELF-32 executable object file - IA64&lt;BR /&gt;&lt;BR /&gt;So the problem could be due to running a foreign devil java.&lt;BR /&gt;</description>
    <pubDate>Sat, 17 May 2008 05:48:19 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-05-17T05:48:19Z</dc:date>
    <item>
      <title>java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108983#M690222</link>
      <description>I have a Rx7620 server.&lt;BR /&gt;&lt;BR /&gt;When I try to run java as the user "reports" (java home directory in his home folder - /home/reports/apps/javaapp/jre1.6.0_04/bin), it gives the following error message:&lt;BR /&gt;&lt;BR /&gt;su: /home/reports/apps/javaapp/jre1.6.0_04/bin/java: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;I added these entries to the .profile file of the user "reports", but it still doesn't work.&lt;BR /&gt;&lt;BR /&gt;export JAVA_HOME=/home/reports/apps/javaapp/jre1.6.0_04/bin/java&lt;BR /&gt;&lt;BR /&gt;export PATH=$PATH:/home/reports/apps/javaapp/jre1.6.0_04/bin/&lt;BR /&gt;&lt;BR /&gt;The same error message is given when I try to run it as the root.&lt;BR /&gt;&lt;BR /&gt;Can you guys please help me.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2008 09:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108983#M690222</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-05-15T09:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108984#M690223</link>
      <description>hi subentu&lt;BR /&gt;&lt;BR /&gt;did you check the execute permission in &lt;BR /&gt;home/reports/apps/javaapp/jre1.6.0_04/bin/java ??</description>
      <pubDate>Thu, 15 May 2008 09:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108984#M690223</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-05-15T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108985#M690224</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;is this a new installation?&lt;BR /&gt;&lt;BR /&gt;Please post the output of the following command:&lt;BR /&gt;ll  /home/reports/apps/javaapp/jre1.6.0_04/bin/java&lt;BR /&gt;&lt;BR /&gt;revert!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 15 May 2008 09:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108985#M690224</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-05-15T09:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108986#M690225</link>
      <description>Thanks for the quick replies.&lt;BR /&gt;&lt;BR /&gt;the output:&lt;BR /&gt;-rwxrwxrwx   1 reports    users        47116 May 15 14:10 /home/reports/apps/javaapp/jre1.6.0_04/bin/java&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2008 09:52:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108986#M690225</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-05-15T09:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108987#M690226</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;can you also try the following command as the reports user:&lt;BR /&gt;cd /home/reports/apps/javaapp/jre1.6.0_04/bin/&lt;BR /&gt;&lt;BR /&gt;./java -version&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;revert!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 15 May 2008 09:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108987#M690226</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-05-15T09:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108988#M690227</link>
      <description>Java version is jre1.6.0_04&lt;BR /&gt;&lt;BR /&gt;requested output is:&lt;BR /&gt;&lt;BR /&gt;$ cd /home/reports/apps/javaapp/jre1.6.0_04/bin/&lt;BR /&gt;$ java -version&lt;BR /&gt;su: java: Execute permission denied.&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 15 May 2008 10:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108988#M690227</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-05-15T10:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108989#M690228</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;$ cd /home/reports/apps/javaapp/jre1.6.0_04/bin/&lt;BR /&gt;&amp;gt;$ java -version&lt;BR /&gt;&amp;gt;su: java: Execute permission denied.&lt;BR /&gt;&amp;gt;$&lt;BR /&gt;&lt;BR /&gt;Please run the java command as follows (using the "./")&lt;BR /&gt;./java -version&lt;BR /&gt;&lt;BR /&gt;We need to make sure that the java is really from the mentioned directory.&lt;BR /&gt;&lt;BR /&gt;Also post the output of:&lt;BR /&gt;echo $PATH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;revert!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 15 May 2008 10:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108989#M690228</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-05-15T10:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108990#M690229</link>
      <description>$ ./java -version&lt;BR /&gt;su: ./java: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; echo $PATH&lt;BR /&gt;/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/usr/contrib/kwdb/bin:/usr/bin/X11:/opt/graphics/common/bin:/opt/upgrade/bin:/opt/ipf/bin:/opt/resmon/bin:/opt/ignite/bin:/opt/sec_mgmt/bastille/bin:/opt/gnome/bin:/opt/mozilla:/opt/wbem/bin:/opt/wbem/sbin:/opt/mx/bin:/opt/sec_mgmt/spc/bin:/opt/perf/bin:/opt/hpnpl//bin:/usr/local/bin:/usr/contrib/bin/X11:/home/reports/apps/javaapp/jre1.6.0_04/bin/:/usr/contrib/bin:/usr/sbin:/app/oracle/product/9.2.0/bin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 15 May 2008 10:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108990#M690229</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-05-15T10:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108991#M690230</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;is this a new installation?&lt;BR /&gt;&lt;BR /&gt;Post the output of:&lt;BR /&gt;file java&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It could also be that the version is not right!&lt;BR /&gt;Where did you download this software from?&lt;BR /&gt;&lt;BR /&gt;Post more information like:&lt;BR /&gt;OS version&lt;BR /&gt;OS mode&lt;BR /&gt;&lt;BR /&gt;revert!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2008 11:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108991#M690230</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-05-15T11:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108992#M690231</link>
      <description>output is&lt;BR /&gt;&lt;BR /&gt;# file java&lt;BR /&gt;java:           cannot open&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OS is 11iv2&lt;BR /&gt;Im running multiuser mode&lt;BR /&gt;&lt;BR /&gt;Can it be a bad installation?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2008 11:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108992#M690231</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-05-15T11:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108993#M690232</link>
      <description>run as report user&lt;BR /&gt;&lt;BR /&gt;$whereis java&lt;BR /&gt;&lt;BR /&gt;did you modify the .profile of report user and relogin and trying?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2008 11:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108993#M690232</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-05-15T11:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108994#M690233</link>
      <description>&amp;gt; $ cd /home/reports/apps/javaapp/jre1.6.0_04/bin/&lt;BR /&gt;&amp;gt; $ java -version&lt;BR /&gt;&amp;gt; su: java: Execute permission denied&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ ./java -version &lt;BR /&gt;&amp;gt; su: ./java: Execute permission denied. &lt;BR /&gt;&lt;BR /&gt;why does the "su" come up everytime you run java? Is "java" replaced by a script that contains the su command? Or is it an shell alias?&lt;BR /&gt;&lt;BR /&gt;In the first example the "java" is run without an absolute path so an alias or a script in the PATH would have been picked up before the java binary (the java path is appended at the end of the PATH).&lt;BR /&gt;&lt;BR /&gt;In the second example the ./java is run from the current directory we do not know if you had cd to the java bin directory.&lt;BR /&gt;&lt;BR /&gt;Run the following commands&lt;BR /&gt;&lt;BR /&gt;which java&lt;BR /&gt;alias java&lt;BR /&gt;file /home/reports/apps/javaapp/jre1.6.0_04/bin/java&lt;BR /&gt;what /home/reports/apps/javaapp/jre1.6.0_04/bin/java&lt;BR /&gt;&lt;BR /&gt;It is possible that you downloaded the wrong platform java RTE.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2008 11:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108994#M690233</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-05-15T11:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108995#M690234</link>
      <description>Thanks for the replies.&lt;BR /&gt;&lt;BR /&gt;I have no idea why su comes up.&lt;BR /&gt;&lt;BR /&gt;I re-ran the commands with absolute paths here:&lt;BR /&gt;&lt;BR /&gt;$ /home/reports/apps/javaapp/jre1.6.0_04/bin/java&lt;BR /&gt;su: /home/reports/apps/javaapp/jre1.6.0_04/bin/java: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;$ /home/reports/apps/javaapp/jre1.6.0_04/bin/java -version&lt;BR /&gt;su: /home/reports/apps/javaapp/jre1.6.0_04/bin/java: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;here are the outputs you requested:&lt;BR /&gt;&lt;BR /&gt;$ which java&lt;BR /&gt;/home/reports/apps/javaapp/jre1.6.0_04/bin//java&lt;BR /&gt;&lt;BR /&gt;$ alias java&lt;BR /&gt;java: shell alias not found.&lt;BR /&gt;&lt;BR /&gt;$ file /home/reports/apps/javaapp/jre1.6.0_04/bin/java&lt;BR /&gt;/home/reports/apps/javaapp/jre1.6.0_04/bin/java:        ELF-32 executable object file&lt;BR /&gt;&lt;BR /&gt;$ what /home/reports/apps/javaapp/jre1.6.0_04/bin/java&lt;BR /&gt;/home/reports/apps/javaapp/jre1.6.0_04/bin/java:&lt;BR /&gt;&lt;BR /&gt;I will check with the installation&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 May 2008 11:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108995#M690234</guid>
      <dc:creator>ubuntu</dc:creator>
      <dc:date>2008-05-15T11:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108996#M690235</link>
      <description>ehhh &lt;BR /&gt;&lt;BR /&gt;home/reports/apps/javaapp/jre1.6.0_04/bin/java: ELF-32 executable object file &lt;BR /&gt;&lt;BR /&gt;You running a 32bit version on a 64 bit server!&lt;BR /&gt;&lt;BR /&gt;which java version did you download and what OS version are you running?</description>
      <pubDate>Thu, 15 May 2008 12:20:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108996#M690235</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2008-05-15T12:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108997#M690236</link>
      <description>&amp;gt; I have a Rx7620 server.&lt;BR /&gt;&lt;BR /&gt;RX means that you need the "itanium JRE 6.0.0" from &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=JDKJRE6000" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=JDKJRE6000&lt;/A&gt;</description>
      <pubDate>Fri, 16 May 2008 12:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108997#M690236</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-05-16T12:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108998#M690237</link>
      <description>Did the java in /home/reports/apps/javaapp/jre1.6.0_04 come with the "report application" that you are using? If so maybe they supplied the wrong version and you should check with them. I you installed it yourself, download the correct one from the web site.&lt;BR /&gt;&lt;BR /&gt;The HP-UX provides java under /opt so you could try the system supplied one by adjusting the JAVA variables for the "reports" user. Or, after you install the right version and platform in /opt,  create a symbolic link in /home/reports/apps/javaapp pointing to the /opt/java1.6 area. You may have to adjust the link paths up or down one level depending on the installation directory tree.</description>
      <pubDate>Fri, 16 May 2008 14:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108998#M690237</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-05-16T14:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108999#M690238</link>
      <description>Thanks a heap guys. All of you have been really helpful.&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Fri, 16 May 2008 18:13:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5108999#M690238</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-05-16T18:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5109000#M690239</link>
      <description>&amp;gt;Robert-Jan: .../jre1.6.0_04/bin/java: ELF-32 executable object file&lt;BR /&gt;&amp;gt;You running a 32bit version on a 64 bit server!&lt;BR /&gt;&lt;BR /&gt;So?  There is nothing wrong with that.  HP-UX is quite happy running 32 bit applications.&lt;BR /&gt;But there is something missing on the end:&lt;BR /&gt;/usr/bin/ksh:   ELF-32 executable object file - IA64&lt;BR /&gt;&lt;BR /&gt;So the problem could be due to running a foreign devil java.&lt;BR /&gt;</description>
      <pubDate>Sat, 17 May 2008 05:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5109000#M690239</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-17T05:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5109001#M690240</link>
      <description>You can also get just "ELF-32 executable object file" if you are on 11.11 and you use file(1) on an IPF executable.</description>
      <pubDate>Sat, 17 May 2008 07:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5109001#M690240</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-17T07:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: java execute permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5109002#M690241</link>
      <description>I have got the solutions for my problem. Thanks everyone.</description>
      <pubDate>Mon, 19 May 2008 08:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/java-execute-permission-denied/m-p/5109002#M690241</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-05-19T08:21:59Z</dc:date>
    </item>
  </channel>
</rss>

