This site requires JavaScript, please enable it in your browser!
Greenfoot back
Upupzealot
Upupzealot wrote ...

2012/7/16

Has anybody packaged his project as an exe file, which can run with out JRE on WIndows OS

Upupzealot Upupzealot

2012/7/16

#
I'm working on this these days.
erdelf erdelf

2012/7/16

#
I know how to compile the jar archive to an exe file, but java is required
mjrb4 mjrb4

2012/7/16

#
Can't be done I'm afraid - you can find "exe wrappers" but all they'll do is package up the jar file in an exe which, when clicked will use Java to run the jar file. If you want to run the project somewhere that doesn't have Java installed, you should be able to put the JRE on say a USB drive and run it from there?
Upupzealot Upupzealot

2012/7/16

#
Yes, it can't work with out JRE but I have picked up the classes which is needed by my jar application and made a mini jre(about 20M),then pack the mini jre with the exe which is packed from my jar and we can run the project just double click the exe now what's more ,I together packed them to a setup.exe(about 8M) I think it's stand alone and much smaller
You need to login to post a reply.