Home >Java >javaTutorial >Why does eclipse installation fail?
Why does the eclipse installation fail?
The failure of eclipse installation may be caused by not configuring environment variables.
Before installing Eclipse, you need to install the corresponding version of JDK first, and then configure the environment variables:
1. Select "My Computer", select "Properties", "Advanced System Settings", in Under "Advanced" options, select "Environment Variables".
2. Select "Edit" in "System Variables", enter the variable name "JAVA_HOME" in the displayed interface, and configure the path of the variable to the installation path of jdk.
3. Select the "path" variable in "System Variables" and introduce the "JAVA_HOME" variable into the "path" variable: %JAVA_HOME%. Note that the path needs to be defined in the bin directory.
Recommended: "Java Tutorial"
The above is the detailed content of Why does eclipse installation fail?. For more information, please follow other related articles on the PHP Chinese website!