AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  ksh: ./java: 0403-006 Execute permission denied.

    Posted Tue April 01, 2008 05:04 AM

    Originally posted by: zbc


    hello
    my application which include a java runtime jre is packed into tar.gz file, then uploaded to the AIX server, uncompress there, the premission of everything seem like 751, but when i navigate into the jre directory, execute command
    ./java

    it tell me "ksh: ./java: 0403-006 Execute permission denied."

    i am sure the permission to the java is 751

    who can help?
    Thanks


  • 2.  Re: ksh: ./java: 0403-006 Execute permission denied.

    Posted Tue April 01, 2008 09:23 AM

    Originally posted by: orphy


    In the jre directory, do these and post your outputs.

    whoami
    ls -l java
    Orphy


  • 3.  Re: ksh: ./java: 0403-006 Execute permission denied.

    Posted Tue April 01, 2008 10:13 AM

    Originally posted by: zbc


    Thanks, as you can see, i have changed the permission to 777,but it still doesnot work

    /home/brioadm/binary/jre/bin -> whoami
    brioadm
    /home/brioadm/binary/jre/bin -> ls -l java
    -rwxrwxrwx 1 brioadm sckey 70611 Oct 01 2006 java
    /home/brioadm/binary/jre/bin -> ./java -version
    ksh: ./java: 0403-006 Execute permission denied.


  • 4.  Re: ksh: ./java: 0403-006 Execute permission denied.

    Posted Tue April 01, 2008 10:47 AM

    Originally posted by: orphy


    Is this a script or is this a java binary? Can you post "file java" output?
    Orphy


  • 5.  Re: ksh: ./java: 0403-006 Execute permission denied.

    Posted Tue April 01, 2008 02:13 PM

    Originally posted by: kappa


    Hi,

    do you have a special need for the tarball?
    There are also official AIX filesets (LPP), 32&64bit, Java14 and Java5 ...