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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

class/.exe conversion

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
is there any way to convert my java class files into an exe file ? or do I just have to write it in C?

I am running JDK1.3.1_01 theEclipse
eclipse_web@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
aaaaaaaaaaaaha! thankyou I'll let you know how it works
theEclipse
eclipse_web@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
wait, wait, n/m. where do you get it?
theEclipse
eclipse_web@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
You should try searching for it with google. Anyway, I've tried it myself and I don't think it's very good. To make the download smaller (or for whatever else reason) you have to compile it yourself which is a simple enough affair but it took me 2 hours. As for the performance, I found that most of the programs did not work exactly as it does with Java and it's behaviour leaves a little to be desired. But- I used jet with a gui/swing so maybe for simple programs it will work fine.
 
why do you want to convert it to an exe file?
 
thats what I am looking for theEclipse
eclipse_web@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
Converting a Java Program into an Exe is pretty much completely missing the point of Java.
- There goes portability (obiviously)
- There goes JVM security
- There goes Memory Mangement and Garage Collection (I don't even know how this will work).
- What happens where a Runtime Exception is thrown that would normally be caught by the JVM?

Bottomline, Java is not meant to run outside a JVM. Excelsior Jet is a hack, if it works great, if it doesn't don't complain. If running under a JVM is out of the question then Java isn't the language you should be using.
 
I meant to say Garbage Collection. Even though I may keep quite a bit of stuff in my Garage, I don't see where it is any of your business.
 
i guess u could make a jar file of all the class files and then use the jar file as a one click option as a exe file(if that is why u r trying to make it a exe file)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top