Operating System - HP-UX
1827286 Members
1692 Online
109717 Solutions
New Discussion

Re: Java 1.3.1 - execute permission denied

 
SOLVED
Go to solution
Frank Zecca
Occasional Contributor

Java 1.3.1 - execute permission denied

Hello,

I just installed Java 1.3.1 on HP-UX 11.11 and get an error when issuing any java commands. For example, java -version returns:

sh: java: Execute permission denied.

Thanks in advance for any help.

Frank
3 REPLIES 3
Mark Grant
Honored Contributor
Solution

Re: Java 1.3.1 - execute permission denied

My guess is you have a script called jave in your PATH that doesn't have execute permission for you.

Try running "/opt/java1.3/bin/java -version" and see if that works. If it doesn't then something went a bit awry during your install.
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: Java 1.3.1 - execute permission denied

Use swverify to validate the installation.

id

Is the user and group permissions compatible with the binaries.

Next, look at the envrionment variables.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Frank Zecca
Occasional Contributor

Re: Java 1.3.1 - execute permission denied

Thanks for the pointers Mark and Steven. It turned out to be my PATH variable. It wasn't set to include /opt/java1.3/bin. Thanks again for fast responses. I'll be assigning points after this reply.

Frank