aspose file tools*
The moose likes Java in General and the fly likes Running a .exe from java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Running a .exe from java program" Watch "Running a .exe from java program" New topic
Author

Running a .exe from java program

vikasids sharma
Ranch Hand

Joined: Aug 01, 2003
Posts: 157
hi all
I have a java program that calls or launches an exe .My problem is when i jar my java program along with exe , i am unable to run that exe from java program while if i keeps both in file system(unjar),my java program runs exe successfully .Please let me know wot all i need to do to run exe from java file when both be placed in a jar .
thanks
Vikas


Thanks
Vikas Sharma
SCJP(1.4)
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12681
    
    5
Since the operating system knows nothing about extracting .exe files from a JAR, I suspect what you want is impossible.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running a .exe from java program
 
Similar Threads
From Applet to Stand-Alone
Running a .exe file from a .java file
how to create exe file
using .exe in the .jar
jar to mac os .app