You can convert a .class file to an .exe file if you use a tool provided by
microsoft's now defunct sdk.  You need to install the sdk before you use it
though.

Heres some documentation from it.

Jexegen
The Java Win32® Executable Generator (jexegen) converts Java classes into a
fully executable Microsoft® Win32® application. The executable produced is
in the exegen format. Jexegen can also create COM DLLs with embedded type
libraries.

Use the following command to run jexegen:

jexegen [options] [@commandfile] files

Jexegen Command-Line Arguments
options One or more jexegen options.
@commandfile A command file listing options and file specifications to be
used by jexegen. For more information, see Command Files.
<files> Names of the files to be converted. You can specify class files and
arbitrary data files.


Jexegen Command-Line Options
/ba /base /bindto /cri /d /main /maxver /nologo /nomain /out /r /r- /raw
/reg /special:tlb[-] /special:pe[-] /special:all[-] /special:res /stack /v
/w /win32res /win32res- /?

See Also
Jexegen Options

Jexegen Usage Notes

Exegen Format

Irfan
-----Original Message-----
From: Maureen Chandra [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 10:22 PM
To: [EMAIL PROTECTED]
Subject: Java: make EXE


Hi group,

Sorry to have posted this question. But I really wondered whether we can
compile .java to .exe or not. Or is there any compiler that can do that?

Thanks & regards,
Muliawan
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to