File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Running Programs from JAVA Programs
Joined: Mar 18, 2004
Mar 07, 2005 23:00:00
How would one run another program from a
program. For example, how would one code a program open a web browser or compile another JAVA file?
Joined: Feb 15, 2005
Mar 08, 2005 00:03:00
The short answer to this question is that you use the command:
However there are some pitfalls and things to be aware of in running this. Here's a link to an article that explains some of them:
Joined: May 10, 2002
Mar 09, 2005 01:04:00
If you want to compile the other classes at runtime, see Compiler class in Java API.
I agree. Here's the link:
subject: Running Programs from JAVA Programs
Calling C program from Multiple Java Programs
GUI Planning & Design
Re Usable Code
I need to get pointed in the right direction
Button question, hopefully an easy one...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014