how to convert a class file to exe file and how to cteate a class file to d

how to convert a class file to exe file
[61 byte] By [bhaskarg] at [2007-9-26 1:16:55]
# 1

Hi Bhaskarq,

Hi,

It is not at all possible.

But it is a really worst method.

Please go through it.

This is a very common question asked in the comp.lang.java newsgroup. Its often useful to have an

executable application when deploying your

applications to a specific platform, but remember to

make your .class files available for users running

Unix/Macintosh/other platforms.

Microsoft provide a free system development kit (SDK),

for Java, which includes the jexegen tool. This

will convert class files into a .EXE form. The only

disadvantage is that users need a Microsoft Java

Virtual Machine (JVM) installed. If your target

platform is Win32, you can either redistribute the

virtual

machine, or raise the level of your system

requirements, to include Windows 98, or Windows 95

with

Internet Explorer 4. Systems matching these

requirements will already have a copy of the Microsoft

Java Virtual Machine installed.

Note : You must specify all of the class files your

application needs (except for standard java packges)

as a parameter, so if you have third party libraries,

you'll need to include them as well. You can use wildcards * though, and you don't need the original source code.

Also please see this Forum which will give a good idea

http://forum.java.sun.com/thread.jsp?forum=31&thread=149733

I hope this will help you.

Thanks

Bakrudeen

Technical Support Engineer

Sun MicroSystems Inc, India

bakrudeen_indts at 2007-6-29 0:45:25 > top of Java-index,Core,Core APIs...
# 2

If you don't mind giving one of Java's key features, platform indepence, away (SHAME ON YOU!) there are programs like...

JToExe: http://www.bravozulu.com/Products/JToExe/jtoexe.html

JET: http://www.excelsior-usa.com/jet.html

Java2exe: http://www.duckware.com/java2exe.html

...that can do it. The question remains: why on earth would you want to do it when you can make a portable, executable jar file? For instructions on that, see http://java.sun.com/docs/books/tutorial/jar/basics/run.html starting from "JAR Files as Applications - 1.2 platform only".

jsalonen at 2007-6-29 0:45:25 > top of Java-index,Core,Core APIs...
# 3

Hi Jsalonen,

Perhaps I have given the forum thread which has discussion for jar files. Perhaps your discussion is there on that forum. Anyhow, I should not encourage in converting class files to exe. Also regarding the jar files I can accept that I have missed it.

Thanks for your reminder.

Thanks

Bakrudeen

bakrudeen_indts at 2007-6-29 0:45:25 > top of Java-index,Core,Core APIs...
# 4
here is the link for the microsoft sdk http://a145.ms.a.microsoft.com/f/145/1611/2h/download.microsoft.com/download/javasdk/install/4.0/win98/en-us/SDKJava40.exei made a program that make exe but it need the microsoft sdk
Dnw at 2007-6-29 0:45:25 > top of Java-index,Core,Core APIs...