Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Executing Java.class on Server

Options
  • 06-02-2008 1:47am
    #1
    Registered Users Posts: 9,225 ✭✭✭


    i have just set up new hosting over at letshost and am trying to execute a java class over ssh and i am getting the following:
    /usr/bin/java: line 67: /tmp/javaX32489: Permission denied
    /usr/bin/java: line 67: /tmp/javaX32489: Success
    

    now i know the code works as i had it running on another server and it was fine.

    is this a permissions issue or has anyone got any idea what i should do?

    Thanks all!


Comments

  • Registered Users Posts: 2,082 ✭✭✭Tobias Greeshman


    Whats the output from
    /usr/bin/java -version
    

    Do you have write permission to /tmp ??

    Can you edit /usr/bin/java, it looks like it's a script that invokes another binary thats the JVM. I think some Sun JDKs were like this on some Unix platforms. If so whats on line 67?


Advertisement