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
    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. Advertising

  2. Shadow123

    Shadow123

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

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. Benjamin Rutt
    Replies:
    2
    Views:
    983
    Peter Hansen
    Dec 20, 2005
  2. freehomesp@yahoo.com.cn
    Replies:
    1
    Views:
    494
    Walter Roberson
    Aug 12, 2005
  3. Lorenzo Bettini
    Replies:
    3
    Views:
    648
    Lorenzo Bettini
    Sep 24, 2005
  4. Alexander Mahone

    Running a program (gperf) inside another C program

    Alexander Mahone, May 26, 2008, in forum: C Programming
    Replies:
    4
    Views:
    439
    Flash Gordon
    May 26, 2008
  5. Laurent Verweijen

    Running a program from another program.

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

Share This Page