The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

How to Create EXE in Java

Posted by Matt Gerrans on September 02, 2001 at 5:05 PM

Create a self-extracting archive program (with C or C++, Delphi, or even with WinZip etc.) that extracts the jar file to a (or the) temp directory, then executes the jvm on it. There is a component called Abbrevia for Delphi or C++ Builder that makes this kind of thing a snap. Of course, the exe only works on the Windows platform, but the same idea can be used on other platforms (and you'd have to create this stub for every platform you want to support).





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us