Java learning notes (three steps without installing tomcat6w.exein tomcat, tomcat6w.exe
1. Use Environment
Start and close the service.
2.run tomcat6w.exe without authorization
(1) error message:
When Tomcat 6w.exe is run, the system prompts that the specified service has not been installed with unable to open the service 'tomcat 6' or that the specified service has been flashed through.
(2) solution:
1>. environment variable configuration
Java environment variables: see Java learning notes (1) JDK installation and configuration
Tomcat environment variables: see Java learning notes (2) TomCat installation and configuration
2>. Run the service. bat install file.
Open the command line Prompt window-> enter the Tomcat installation directory-> enter the bin directory-> enter: service. bat install.
3.release tomcat6unclick the 64-bit Windows system to launch tomcat6w.exe.
(1) error message:
In the log file path of Tomcat, the following errors occur in F: \ JAVA \ apache-tomcat-6.0.18 \ apache-tomcat-6.0.18 \ logs:
[174 javajni. c] [error] % 1 is not a valid Win32 application.
[994 prunsrv. c] [error] Failed creating java D: \ java \ jre \ bin \ server \ jvm. dll
[1269 prunsrv. c] [error] ServiceStart returned 1
(2) solution:
For some reason, you cannot upgrade tomcat to a later version. apache-tomcat-6.0.18 does not have a 64-bit version. Download from website!