Quantcast
Channel: How to run a java program through a different java program? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Jamsheer for How to run a java program through a different java...

please refer how to compile & run java program in another java program?. Same solution available !!

View Article



Answer by karimyafi for How to run a java program through a different java...

Why don't you create an executable jar for the Example.java and place it in the path then execute it with:Runtime.getRunTime().exec("c:/"+path+"/java -jar Example.jar");

View Article

How to run a java program through a different java program?

I want my java program to execute a different java program. I used following method.(The program I want to run is Example.java)class RunJava{public static void main(String a[])throws...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images