A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to Execute a .exe file stored in jar file ?
Joined: Nov 18, 2002
Jan 25, 2008 16:25:00
I wonder if this is possible.
I have a .exe file that have to be execute by my
I'd like to store that .exe file in the jar file of the application.
How can I execute that .exe file from the java application ?
Sam<p>"Life is difficult"<br /> -Scott Peck-</p>
Joined: May 26, 2003
Jan 25, 2008 16:38:00
You need to unzip the jar file before running the program. You can have a java program take care of both steps through Runtime.exec().
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: How to Execute a .exe file stored in jar file ?
Running a JAR file from a java program
Executing .exe inside a jar file
java applications as executable jars vs exe files.
can u help me out
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014