The Nexus service could not be started, error 1067: The process terminated unexpectedly. Java environment variable setting technique.

Source: Internet
Author: User

Nexus failed to start

Wrapper.log Records:

No support for version 51.0, version 51.0 refers to Java1.7.

Analysis:

The Nexus version is 2.14.8 and the applicable JRE version is 1.7.

The Java_home has been configured for version 1.7.

CMD, java-version, the display version is 1.6, strange.

It is true that there are also 1.6 versions on this machine.

Problem:

There are three JAVA files such as Java.exe in Windows\system32\, which takes precedence over%java_home%\bin in the path path.

Originally, when installing Java by executing the installation file, these three files are automatically copied to the System32 folder.

Solve:

Remove these three files, anyway, the search path%java_home%\bin has been configured.

The Nexus service could not be started, error 1067: The process terminated unexpectedly. Java environment variable setting technique.

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.