Recently to configure the Eclipse environment, mark some of these methods.
After downloading the Eclipse SDK we will associate the JRE, because the eclipse boot requires the JRE.
The order in which the JRE is looked up when Eclipse starts:
1, if the-VM parameter is configured in Eclipse.ini, then the JRE specified by this parameter is used;
We can add complete associations by adding them to the Eclipse.ini, for example:
-vm
D:\jre\bin\javaw.exe
Note: Be sure to add two lines above the-vmargs line (path with or without spaces, forward slash backslash, and case insensitive)
2, otherwise go to see if there is a JRE folder under the Eclipse installation directory, and if so, use this JRE;
We can complete the association by copying the JRE directory directly to the Eclipse directory.
Note: Remember to put Jre6 or jre7 ... File name modified to JRE
3, otherwise go to the system to find the installation of the JRE, if you can not find the error.
We can complete the association by setting the JRE path (eg:D:\jre\bin) in the current user environment variable path or the general environment variable path
Note: The bin path to the JRE.
One of them, do not repeat, lest unnecessary mistakes.