Results 1 to 2 of 2
  1. #1
    mike_ledis is offline Member
    Join Date
    Mar 2010
    Rep Power

    Default System call with java 3

    Hallo i am trying to execute some programs through java. I want to execute the following programs gedit,firefox,gimp,nano and blackjack (i am using ubuntu linux o/s).

    I managed to execute all the programs except blackjack.
    I am using the command
    when i give as input to the command the full directory of the blackjack(usr/games/blackjack) it does not work.

    Any suggestions?

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Cebu City, Philippines
    Rep Power


    Maybe it requires a root user or the administrator privilege. Did you check on it?
    freedom exists in the world of ideas

Similar Threads

  1. System call with java
    By mike_ledis in forum Advanced Java
    Replies: 5
    Last Post: 03-26-2010, 12:36 AM
  2. Replies: 3
    Last Post: 02-07-2010, 09:34 PM
  3. how to call dll from java ??
    By Omarero in forum New To Java
    Replies: 3
    Last Post: 11-13-2008, 06:14 AM
  4. how to call a dll from java
    By katie in forum Advanced Java
    Replies: 3
    Last Post: 12-10-2007, 11:34 AM
  5. help with System.exit (1) function call
    By katie in forum Advanced Java
    Replies: 2
    Last Post: 08-06-2007, 09:03 PM

Posting Permissions

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