Results 1 to 5 of 5

Thread: Java?

  1. #1
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342

    Java?

    I was wondering does anyone here know how to exacute shell commands on a client from a server useing java?

    Basicly what i want to do is have a user click on a button on my web site that will say open the konsole or say openoffice on there computer?

    I am sure it can be done with java but i have nooo idea how and php cant do that.

    Any help from anyone would be greate.
    Wenn Sie Spaß meines Englisch mich Willensfuckingtötung Sie bilden.

  2. #2
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206
    Hey CT. You would have to leverage JINI, which allows Java to leverage other language/system libraries, I am sure you could use it to execute a shell script. But I am not totally sure, as I have never done it. I can see that it would open a massive security hole tho. If I can run a shell script on your machine from an applet, there isnt much stopping me from nuking your system.
    jro - http://jeff.robbins.ws
    Linux counter#:213782
    GnuPG ID: 406238E7

  3. #3
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342

    Re: Java?

    Hmmmm ok then just in case you were wondering why the hell i wanted to kno how to do that.
    I was trying to build a add on feature to install programs like linspire.
    Wenn Sie Spaß meines Englisch mich Willensfuckingtötung Sie bilden.

  4. #4
    Mentor
    Join Date
    May 2004
    Location
    Louisiana
    Posts
    1,206
    maccorin hates JAVA

  5. #5
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206
    Naww, he's a closet Java lover. When the rest of us are secreted away looking at girlie sites, maccorin is secretly coding Java. He doesn't like to talk about it 'cause it makes him feel dirty.

    ... :lol:
    jro - http://jeff.robbins.ws
    Linux counter#:213782
    GnuPG ID: 406238E7

Similar Threads

  1. using JAVA
    By gohbucks69 in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 01-20-2005, 02:40 AM
  2. java and opera... always says invalid java directory
    By sujoki in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 08-26-2003, 03:54 PM
  3. how to apt-get java
    By S_D_Willie in forum Linux - General Topics
    Replies: 13
    Last Post: 11-22-2002, 12:38 AM
  4. Java
    By drizzle in forum Linux - Software, Applications & Programming
    Replies: 7
    Last Post: 01-30-2002, 03:37 PM
  5. Java & Mozilla (formerly Java and Netscape)
    By papanohair in forum Linux - General Topics
    Replies: 2
    Last Post: 01-07-2002, 08:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •