KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to execute jar files from another Java program. I am using the following code : try { Runtime runtime = Runtime.getRuntime(); runtime.exec("path upto jar"); } catch (Exception ex) { JOptionPane.showMessageDialog(null, "Exception occured" + ex); } But its not working. I tried google and it gave me the examples using ProcessBuilder, but that is not working either.
Tags (comma-separated)
Save Edits
Cancel