The author is a 4-year working experience of the. NET program ape, due to the restructuring of the company structure, coupled with the market. Net of the original intention is to think back to Microsoft is always right, as the saying goes, under the tree good shade. But now there is almost no language in the training course, the decline, alas), now decided to learn Java in the line. Well, it's not much of a crap.
To this end, a new book, "Java from the beginning to Mastery", tomorrow Science and technology. Although we do not need to start from 0, but the basic is to go through, after all, I do not use eclipse Ah, a book guide is always good.
As the saying goes: 工欲善其事, its prerequisite. Then we start to install eclipse now, this word can not read the children's shoes remember Baidu translation, otherwise it will fool, right.
1. We open the Eclipse website's Download Center, https://www.eclipse.org/downloads/eclipse-packages/. As the author of the computer is Win7 64-bit, the corresponding version was selected.
Down, is a compressed package, click on the inside of the Eclipse.exe, you can open. Ah oh, the error, the book did not write Ah. The error description is as follows.
first of all, Baidu is the main reason for the following two are only possible:
First, no JDK, Java development Environment, Java Development environment is not, how to use development tools? Right? So if you don't have it installed, please download the Java JDK First, and then open your eclipse after the installation is complete.
Second, the installation of the JDK, but did not configure the environment variables, this is an uncommon problem, in general, installed by default to help you well, if not configured, please direct Baidu below how to configure the JDK and JRE environment variables, configuration is correct. (The JRE is the Java usage environment and the JDK will have a JRE, so you don't have to download the installation specifically.) )
Let's install the JDK first, open the URL: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Remember to agree to the license first, then click on the corresponding version to download.
After downloading it, it is the next step of the Fool's style.
After the installation is complete, we'll try the exe file just now.
By the way, that's the picture.
If this is still an error in children's shoes, that is to say that our System variables cannot run Java. Then let's add the variable to it.
Then we right click on "My Computer", open, select "Advanced System Settings".
Open System Properties, such as presentation, and then click Environment Variables.
Set the following in the system variable:
Variable name: Java_home Variable value: C:\Program files\java\jdk1.6.0_25 variable name: CLASSPATH Variable value:.; %java_home%\lib; variable name: Path Variable value:%java_home%\bin;
This step, the author did not test, because the author is completed the first step, you can already open eclipse. Have tested children's shoes can give me a message, whether useful.
Let's talk about it here today.
"JAVA" experience sharing (i) initial installation experiences