+ 1
How to compile a java program using another java program
2 Answers
+ 2
Did you mean "call" a Java program inside some Java code?
If that's the case, build the program to be called into a .JAR and call it via Runtime.getRuntime().exec() static method. Example:
Runtime.getRuntime().exec("java -jar myjar.jar");