1. eclipse
eclipse is an IDE (integrated development environment), and it is mostly written in java and its primal use is to develop java project. But it can be used for C++, python, R et.al with suitable plugin. eclipse classic can be seen a SDK
2. Notations for java
- JVM short for jave virtyak machine(java 虚拟机). It is a part of JRE, and is an abstract computing machine that enables a computer to run a Java program.
- JRE short for jave runtime environment(java 运行环境). It is a software package that contains what is required to run a Java program. It includes a JVM implementation together with an implementation of the Java Class Library. It is mainly for user to execute jave project.
- JDK: short for java development kit(jave 开发工具包), the SDK for java. It is a superset of a JRE and contains also tools for Java programmers, e.g. a java compiler. It is for developer to built jave application.
- SDK: short for sofeware development kit(软件开发工具包). It is typically a set of software development tools that allows the creation of applications for a certain software package, software framework, hardware platform, computer system, video game console, operating system, or similar development platform. To create applications, you have to download a specific software development kit.
3. Download JDK
why do this step? Because eclipse is written in java. if you want to run eclipse, JDK is needed.
3.1 download and install
Go to
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
to download JDK. Then install it step by step, more details about install can be found in
http://jingyan.baidu.com/article/b24f6c82c989da86bfe5dab2.html
3.2 Configuration environment variable
- step 1: Right click on my computer and choose properties
- step2:
- step3:
- step 4: make a new variable JAVA_HOME(JDK安装目录)
- step 5: make a new variable CLASSPATH(JDK目录下lib中的tools.jar和dt.jar)
CLASSPATH .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
- step 6: add item in path(JDK中bin目录)
%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
3.3 Test if it works
press win+R and type cmd. Then type jave -version
4. Download MinGW
4.1 Download and install
MinGw is short for Minimalist GNU for Windows, which can be regarded as a compiler. Download it from
http://sourceforge.net/projects/mingw/files/
more details can be found in
http://jingyan.baidu.com/article/455a99509c76d8a1662778f6.html
4.2 Configuration environment variable
add MinGw bin to path
4.3 Test if it works
5. Download and install eclipse
Go to
http://www.eclipse.org/downloads/packages/eclipse-standard-44/lunar
to download the standard version of eclipse.
Then unzipping it is ok.