Running Java Program from a Java Program

Discussion in 'Java' started by Shadow123, Jul 9, 2008.

  1. Shadow123

    Shadow123

    Joined:
    Jul 9, 2008
    Messages:
    4
    Likes Received:
    0
    Is there a way I can run a JAVA program from another JAVA program? For example, what would the code be to run program2.java from program1.java?

    thanks!
     
    Shadow123, Jul 9, 2008
    #1
    1. Advertisements

  2. Shadow123

    Shadow123

    Joined:
    Jul 9, 2008
    Messages:
    4
    Likes Received:
    0
    nevermind i figured out what i was doing wrong.
     
    Shadow123, Jul 9, 2008
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rey
    Replies:
    4
    Views:
    11,525
    Roedy Green
    Dec 12, 2003
  2. cjeffwang@yahoo.com
    Replies:
    1
    Views:
    714
    Andrew Thompson
    Oct 31, 2005
  3. joshivaibhav
    Replies:
    3
    Views:
    1,000
    joshivaibhav
    Nov 21, 2006
  4. freehomesp@yahoo.com.cn
    Replies:
    1
    Views:
    641
    Walter Roberson
    Aug 12, 2005
  5. Lorenzo Bettini
    Replies:
    3
    Views:
    822
    Lorenzo Bettini
    Sep 24, 2005
  6. Alexander Mahone

    Running a program (gperf) inside another C program

    Alexander Mahone, May 26, 2008, in forum: C Programming
    Replies:
    4
    Views:
    638
    Flash Gordon
    May 26, 2008
  7. Shadow123
    Replies:
    0
    Views:
    409
    Shadow123
    Aug 11, 2008
  8. Laurent Verweijen

    Running a program from another program.

    Laurent Verweijen, Jun 17, 2010, in forum: Python
    Replies:
    0
    Views:
    342
    Laurent Verweijen
    Jun 17, 2010
Loading...