Tomacat cannot start---174 javajni.c] [ERROR]%1 is not a valid WIN32 application.

Source: Internet
Author: User

The version of my JDK is Jdk1.8.0_05,tomcat version older is tomcat-5.5.26, according to the various configurations on the web, the JDK and Tomcat environment configuration guidance, Step by step , the JDK detection is no problem, also tried to change the port number, modify the bat file, but still can not start, the cmd window is a flash and , according to the log files in-depth search, has been to consider the environment variable configuration path has a problem, and finally try to the JDK bin file under the Msvcr100.dll files are copied to the Tomcat bin file, but the problem is not resolved but it is becoming clearer. The following log appears with this hint:

[174 JAVAJNI.C] [ERROR]%1 is not a valid WIN32 application.

It is obvious that there is a system compatibility problem, so this problem is also a good idea, referring to the online information mentioned to the Tomcat version is too low to produce compatibility issues, I think the latest version of Tomcat is 8, and mine is 5.5, Then update the version to apache-tomcat-7.0.64, and then the following interface is out.

On the web about how to configure the JDK and Tomcat environment variables and detect the configuration of the success of the data a lot, the small part is no longer here to repeat, just about the version is too low to be compatible with the data is difficult to find. But more important is the process of solving the problem. The process of finding answers is a process of understanding things in your own mind, and searching for problems will show you one step at a way.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Tomacat cannot start---174 javajni.c] [ERROR]%1 is not a valid WIN32 application.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.