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
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Running Programs from JAVA Programs
Joined: Mar 18, 2004
Mar 07, 2005 23:00:00
How would one run another program from a JAVA 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
GUI Planning & Design
Re Usable Code
Calling C program from Multiple Java Programs
Button question, hopefully an easy one...
I need to get pointed in the right direction
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014