This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running a .exe from java program

 
vikasids sharma
Ranch Hand
Posts: 157
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic