Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.class file to .exe????

Status
Not open for further replies.

sreenath205

Programmer
Dec 9, 2003
17
0
0
IN
Hi all

Is it possible to convert a .class file to .exe file?


Thanks
 
why? I don't see any reasonable reasons to do that.

Ion Filipski
1c.bmp
 
There exist the IBM tool java3exe, but there is no reason to make a .exe from a .class. Any client could download the latest JRE for free from java.sun.com.

Ion Filipski
1c.bmp
 
Curiuous.

You can just make a simple program with a system call to java classfile.class

That will do the trick
 
Diancecht

thanks for the reply,but how to go about it can you provide some code.

thanks and regards
Sreenath m
 
just make a .bat that has the code:
Code:
java someclass

and assifn an icon. gcj also compiles to native executable code, but I don't think it's been ported to DJGPP yet (and it's still VERY basic on *nix systems)
 
search in google java2exe or use jni to invoke java from native side.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top