问题
Can anyone give me some documentation link/tutorial which could help me create .exe windows installer for Java Web Application.
I have a Java Web Project which runs on tomcat server and I want to run theproject on windows with a single click. So for the same I want to create .exe file which I could use as installer to run on any machine.
I couldn't find any proper document to create .exe file with the use of popular installers like Install4J and Advanced Installer.
Please let me know if somebody has document or any kind help is highly appreciable. Thanks in advance.
回答1:
According to my understading of your question, I believe you'd need these few things to do:
- Copying your tomcat containing the WAR file in webapps directory to default/specified directory.
- Or else for an existing tomcat, copy your war file in tomcat/webapps directory.
- Execute tomcat startup.bat from tomcat/bin.
For the above tasks, I'd say the below links will suffice: Install4J, Advanced Installer Tutorial
来源:https://stackoverflow.com/questions/28949030/steps-to-deploy-web-application-on-tomcat-via-install4j-installer-or-advanced-in