question about turning ur main into programs
Author |
Message |
Tat
|
Posted: Fri Aug 20, 2004 6:20 pm Post subject: question about turning ur main into programs |
|
|
um............i mean like for c++ and turing they can make files into .exe easily and run the program without the complier
but all this time i've been using complier to run my programs is there a way or should i say how to turn those .java files into .exe programs
and another thing it might be off topic but still how do they make an install program to install games and stuff, just a little curious |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Dan
|
Posted: Fri Aug 20, 2004 7:07 pm Post subject: (No subject) |
|
|
The idea behind java is not to make exe files but .class files. Thess class files are sposted to be run in the JVM (java vertial mashaen) so they can be run any plafrom incuding windows, linux, mac, cell phones and the mars rover. If you where to make it in to a exe it whould no longer be portable and whould only run on windows.
With that side tho, there are exe warpers for java classes but it whould be underming the idea of java. But as i have found out very few poleop know how or are willing to use class files so it is almost neceray to make an exe verson of your app so poleop will even look at your work.
Here are some exe wrapers for java class (note alot of them requier you to put your class files in a jar arcive):
http://www.bysoft.se/sureshot/exej/
the J++ one (sigh this is evil)
http://msdn.microsoft.com/vjsharp/default.aspx
I like this one best:
http://jsmooth.sourceforge.net/
http://mpowers.net/executor/
http://www.dobysoft.com/products/nativej/
http://www.ucware.com/jexec/
http://www.sfu.ca/~tyuen/jelude/
http://jstart32.sourceforge.net/
http://thor.prohosting.com/~dfolly/java/index.html
http://launch4j.sourceforge.net/ |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
wtd
|
|
|
|
|
Tat
|
Posted: Sun Aug 22, 2004 9:13 pm Post subject: (No subject) |
|
|
thx alot guys
even my sister that took comp sci in college didn't know this
really appreciated ur offers, ty very much |
|
|
|
|
|
Paul
|
Posted: Mon Aug 23, 2004 7:30 pm Post subject: (No subject) |
|
|
aren't .jar files also java executables? |
|
|
|
|
|
rizzix
|
Posted: Mon Aug 23, 2004 8:49 pm Post subject: (No subject) |
|
|
no technically they are not... just java archinves.. but they do include meta information which can be read by the jvm.. if configured correctly .jar files are double-clickable and thus executables.. but most recent jvm from sun auto register .jar to be open with javaw.exe (the jvm tuned for gui rather then cui) |
|
|
|
|
|
|
|