Hi, I have used JSmooth (http://jsmooth.sourceforge.net/) which also wraps everything up in a .exe file and seem to share many features with EXE4J.
I disagree with the first respondent in this thread who suggested creating jar file with the main class specified in the manifest. In my view, a jar file (a collection of class files) is not executable; rather, it is just 'data' for the JVM, the actual executable.. It is no more executable than an HTML file. However, the goal of the original poster - an icon that can be clicked on - can be achieved by creating a shortcut to the jar file and placing it on the desktop, start menu, wherever. This works providing the correct file association is created between the jar extension and the java.exe executable; this was probably done for you when your JVM was installed. You can check this by running Windows explorer, Tools/Folder Options and select the File Types tab or run the FTYPE and ASSOC commands from the command prompt. Hope this Helps. Jim Cant N.B. the jar extension may be associated with "javaw.exe" rather than "java.exe". If this is the case, your standard output (System.out.println() and the like) will be swallowed up. If you've written little "hello world" console test program, you'll see nothing with javaw.exe and think you've failed miserably when you haven't. See this link (http://mindprod.com/jgloss/javawexe.html) from one of the handiest websites in all internetdom. >-----Original Message----- >From: Kevin Passey [mailto:[EMAIL PROTECTED] >Sent: Monday, January 09, 2006 10:37 AM >To: Tomcat Users List >Subject: Re: How to create EXE in java > >I use EXE4J from ej-technologies - you can build >applications and even >supply your copy of the jvm all wrapped up in an exe. >Gives you a splash >screen and options to search for a jvm - I like it anyway. > >KP >----- Original Message ----- >From: "kavallappa chiru" <[EMAIL PROTECTED]> >To: <users@tomcat.apache.org> >Sent: Monday, January 09, 2006 7:20 AM >Subject: How to create EXE in java > > >> Hi >> How can i cretae exe file from java class file , so that >i can run java >> application without running java classfile from the >command prompt. I just >> want click on the icon to run it as we are all doing in windows. >> >> thank you >> kavall >> >> >> >> --------------------------------- >> Yahoo! Photos >> Ring in the New Year with Photo Calendars. Add photos, >events, holidays, >> whatever. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]