How do I launch one java class from within another?

Discussion in 'Software' started by Dr_Xem@cs, Dec 15, 2007.

  1. Dr_Xem@cs

    Dr_Xem@cs Private E-2

    Hi all!

    I am working on a server-client complex (implementing a Linda tuplespace construction) in Java, and want to write a monitor that is able to launch classes that contain a main method, and to create a console window for each new class started. Does anyone know how to do this?

    I have searched the API index for run, exec, launch etc. but found nothing.

    Greetings, Doc.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds