Classic Error Recurrence->java RunTime environment (JRE) or Java development Kit (JDK) must be available in order to

Source: Internet
Author: User

Often encountered this error, the error code is as follows:

Java RunTime Environment (JRE) or Java development Kit (JDK) must be available on order to run Sts,no Java Virtual machine was found after searching the following locations:..............................................javaw.exe in your Current PATH


solution : According to the error, Spring Tool Suite cannot find the JRE (Java runtime Environment,java Runtime Environment) that is currently available in the system. The reason for this is that the system does not have the installation of the JDK or JRE in the current system environment variable configuration, there is another situation is configured, but the wrong or not the canonical way to cause the STS can not properly find the JRE for normal startup.

    • The first step: Find the Java installation directory, for example, my installation directory is: C:\ProSoft\Java\jdk1.7.0_72


    • Step two: Computer--Properties---> Advanced system settings---> Environment variables
1). New in user variables such as:

2). Edit the path variable in the system variable such as:


3). Verify the installation of a successful CMD java-version such as:


4). The Java environment configuration is complete to verify that spring Tool suite is OK! Do it yourself ...


Classic Error Recurrence->java RunTime environment (JRE) or Java development Kit (JDK) must be available in order to

Related Article

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.