How to execute a java program with the help of Runtime.getRuntime().exec(). For example we shall have the java file path as c:/java/abc.java. Please help me with the code.>
You mean you want a Java program to run another Java program. This SO thread might be helpful, in that case.