View Single Post
  #3 (permalink)  
Old 01-11-04, 07:48 AM
rik_sherman rik_sherman is offline
New Member
 
Join Date: Jan 2004
Location: UK Manchester
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by DaniellBB
How to make .exe file with JDK!
The short answer is that you can't :-(

There is a comercial product that will do this, off the top of my head I can't remember what it's called but I do remember that the price was way out of the home users range.

I've just done some searching on Sourceforge and the best I could find was a couple of programs that could convert your java code into ANSI C which you could then use one of the free compilers (such as GCC) to create an exe.

Under windows (I believe it's by default) you can have JAR files autorun on doubleclick. I think that they need to contain a class that has the same name as the jar file and this file must contain a 'main' method.

Hope I've been of some help

Rik.
Reply With Quote