Deploying a JAVA project to client
I'm currently working on a project on Java Applet, Frames and now i have to deploy it. But the problem is this how can i hide the source code of the project? I've to deploy it to a local user on Windows OS. How can i make the .exe of the code?开发者_C百科
There are many options you have.
If you just want to wrap the Java code in an executable file that works in Windows. You have:
- Launch4j
- JSmooth
Both are good.
If you want to wrap as a service so that you can perform myapp.bat {install|start|stop}
, you have
- Java Service Wrapper
If you just want to have a couple of bat/shell scripts auto generated at the build time that will launch your app on double clicking. You may look into Maven, there is a good Maven plugin called AppAssembler
- Maven AppAssembler Plugin
The best tool for building .exe is InstallJammer
It also provides wizard type installation with all options.
精彩评论