- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- java execute permission denied
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 02:40 AM
тАО05-15-2008 02:40 AM
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:
su: /home/reports/apps/javaapp/jre1.6.0_04/bin/java: Execute permission denied.
I added these entries to the .profile file of the user "reports", but it still doesn't work.
export JAVA_HOME=/home/reports/apps/javaapp/jre1.6.0_04/bin/java
export PATH=$PATH:/home/reports/apps/javaapp/jre1.6.0_04/bin/
The same error message is given when I try to run it as the root.
Can you guys please help me.
Thanks
Solved! Go to Solution.
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 02:49 AM
тАО05-15-2008 02:49 AM
Re: java execute permission denied
did you check the execute permission in
home/reports/apps/javaapp/jre1.6.0_04/bin/java ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 02:49 AM
тАО05-15-2008 02:49 AM
Re: java execute permission denied
is this a new installation?
Please post the output of the following command:
ll /home/reports/apps/javaapp/jre1.6.0_04/bin/java
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 02:52 AM
тАО05-15-2008 02:52 AM
Re: java execute permission denied
the output:
-rwxrwxrwx 1 reports users 47116 May 15 14:10 /home/reports/apps/javaapp/jre1.6.0_04/bin/java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 02:57 AM
тАО05-15-2008 02:57 AM
Re: java execute permission denied
can you also try the following command as the reports user:
cd /home/reports/apps/javaapp/jre1.6.0_04/bin/
./java -version
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 03:01 AM
тАО05-15-2008 03:01 AM
Re: java execute permission denied
requested output is:
$ cd /home/reports/apps/javaapp/jre1.6.0_04/bin/
$ java -version
su: java: Execute permission denied.
$
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 03:07 AM
тАО05-15-2008 03:07 AM
Re: java execute permission denied
>$ cd /home/reports/apps/javaapp/jre1.6.0_04/bin/
>$ java -version
>su: java: Execute permission denied.
>$
Please run the java command as follows (using the "./")
./java -version
We need to make sure that the java is really from the mentioned directory.
Also post the output of:
echo $PATH
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 03:14 AM
тАО05-15-2008 03:14 AM
Re: java execute permission denied
su: ./java: Execute permission denied.
echo $PATH
/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
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 04:00 AM
тАО05-15-2008 04:00 AM
Re: java execute permission denied
is this a new installation?
Post the output of:
file java
It could also be that the version is not right!
Where did you download this software from?
Post more information like:
OS version
OS mode
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 04:22 AM
тАО05-15-2008 04:22 AM
Re: java execute permission denied
# file java
java: cannot open
#
OS is 11iv2
Im running multiuser mode
Can it be a bad installation?
Thanks