Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 question about turning ur main into programs
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tat




PostPosted: 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
Sponsor
sponsor
Dan




PostPosted: 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




PostPosted: Fri Aug 20, 2004 7:43 pm   Post subject: (No subject)

GCJ is a native compiler for Java.

http://gcc.gnu.org/java/
Tat




PostPosted: 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




PostPosted: Mon Aug 23, 2004 7:30 pm   Post subject: (No subject)

aren't .jar files also java executables?
rizzix




PostPosted: 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)
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: