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