Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Executing Java.class on Server

  • 06-02-2008 01:47AM
    #1
    Registered Users, Registered Users 2 Posts: 9,228 ✭✭✭


    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, Registered Users 2 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
Advertisement