as runn开发者_高级运维ing any exe file or something..??
Make an executable JAR file:
http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html
Use Java Web Start to package and deploy your application on a web server.
During launch, It will create desktop shortcuts that can connect to a server and update your application if updates are found.
- Java Web Start Overview
It also has other advantages, like the fact that it can ensure that you have the right virtual machine, and download the right one in case you don't
You can create an executable with one of the following:
- http://jsmooth.sourceforge.net/
- http://launch4j.sourceforge.net/
- http://www.ej-technologies.com/products/exe4j/overview.html [commercial]
精彩评论