how to run .jar file in an application Launcher?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, April 11, 2005 12:43 AM

Hi!!! i am developing an application Launcher using Jswings.

I am taking as an input the path of the .exe , .jar files using JFileChooser and being able to launch applications having .exe files using the code:



Runtime.getRuntime().exec("url of the .exe file");


I tried something similar for .jar files also but its not working.Can anyone help me with this? Am i using the right approach or is there a better way to solve the problem?

About | Sitemap | Contact