TechieDrill Your World Of Technical Tutorials

Posts Tagged ‘application’

Launching Applications from Java Runtimes

11.20.2009 · Posted in Java

You can run any Applications by executing Java Runtime Classes See the code below class RuntimeDemo { public static void main(String[] args) throws Exception { Runtime r =Runtime.getRuntime(); Process p=null; p=r.exec(”notepad.exe”); } } Copy and paste the above piece of de and execute the java interpreter class RuntimeDemo { public static void main(String[] args) throws Exception { Runtime r =Runtime.getRuntime(); Process p=null; ...