This is the preferred way to talk about projects that the JDK container uses, especially if two or more developers use the same version, managed by the project folder of the eclipse project.
Window / Preferences / Java / Installed JREs
List one or more JDKs installed on your computer. Eclipse assigns a name to the name jdk1.X.X_XX, you must store it as is. Never bind project build settings directly to use these names.
Window / Preferences / Java / Installed JRE Environments / Execution
A list of common jvm environments such as the JavaSE-1.6 and JavaSE-1-7 names. Click the rows and select jre instance in the right sidebar. These names are common, and all team members should already have them in the Eclipse installation.
Step 1: Here you canβt accidentally select anything if the JREs were deleted or the names changed in the settings of InstalledJREs. You can get
The specified vm install was not found error dialog.
Step 2. Select the second mouse button in the build.xml / Run As / Ant Build ... pop-up menu. Click the JRE tab and select a runtime. This may have an obsolete value from previous jdk values.
Project Properties / Path / Java Libraries
Add Library ... / JRE System Library / (x) runtime
Select the runtime environment that will be used for this project. Team members may not have the exact build of _XX jdk, but they may use the same version control parameters of the eclipse project. The runtime display hides user-specific details.
Whome Mar 31 '14 at 19:33 2014-03-31 19:33
source share