After the program development of Eclipes is completed, it will usually be launched directly in the eclipse deployment, where some of the startup parameter settings will be made, and if started with the command line, manual configuration is required.
The war package that was developed after the program development needs to be deployed to the Tomcat application server, and the following configuration is required for computers that do not have a JRE installed:
Create a new folder, put in Jre,tomcat with the other required files, where Tomcat needs to put the deployed war.
The Config folder is the actual situation to determine if and where to place.
Startup.bat:
Set dir=%cd%
Set Jre_home=%dir%\jre7
Set java_opts=-d**.home=%cd%-dapp.home=%cd%
CD%dir%\apache-tomcat-7-***\bin
Startup
----------------------------------
Java_opts sets the parameters for the settings in the VM arguments in Eclipse.
Example: java_opts= "-SERVER-XMS768M-XMX768M-XX:PERMSIZE=128M-XX:MAXPERMSIZE=256M-XX:newsize=192m-xx:maxnewsize= 384m "
Remember to start the app deployed on Tomcat using the command line