1834915 Members
2654 Online
110071 Solutions
New Discussion

JAVA Files ???

 
Mike Burk
Advisor

JAVA Files ???

I am lost, when I try to run a .jar file I receive "execute permission denied" I have rwx on the file and the directory? Help
2 REPLIES 2
Vincenzo Restuccia
Honored Contributor

Re: JAVA Files ???

Five possibilities come to my mind. I don't know that all of them would
produce "permission denied" messages, but I suspect they would.

1) Your file is actually a link to the real executable, and the real
executable does not have the correct permissions.

2) The file is a script and you don't have permission to execute the
interpreter.

3) You don't have execute permission for one of the dynamic libraries
used by the file.

4) You don't have execute permission for the linker/loader. This is highly
unlikely since all the other programs use the same loader. The only
possible way I see for this to happen is if this file was created on
HPUX 10.20 with aCC (which uses its own linker/loader) and the aCC
linker was installed incorrectly.

5) You have the name of this file aliased to something illegal.

Re: JAVA Files ???

Hi,
Do you have the JDK installed?
If yes try:
$java
It's possible that you have to set the CLASSPATH

Best regards:
Juan Gonzalez