JAVA Basics (JDK, eclipse download and install)

Recent plan review from the foundation last year, this time to start learning, feeling better have forgotten (for you to remember is not deep, easy to forget things)

Are their own understanding, if there is an error please correct me!

2009 Sun was acquired by Oracle Corporation

javaSE: basic core, program development and deployment of desktop, server, embedded environments and real-time environment using Java-based applications;

JavaEE: Enterprise Edition, mainly for the development of enterprise applications. For example, e-commerce site, ERP systems.

JavaME: Micro Edition, mainly for mobile consumer electronic devices. For example, cellular phones and video phones, digital set-top boxes, car navigation systems and the like.

Development environment to build and configure

1. Download and install jdk

The role of the JDK: jdk namely Java Development Kit (Java Development Kit), including the java runtime and development environment, class libraries, and some basic tools java, java runtime is the foundation of development.

JDK and the difference between JRE: JDK includes JRE, which provides java runtime environment and development environment, development kits (such as compilers and debuggers).

The core content is jre (java virtual machine) JVM, provides only the operating environment of java.

JVM (java virtual machine): write your program becomes your computer can run programs directly. Execute bytecode files can be resolved.

bin file in the JDK: JDK provides a directory of files, including a compiler, interpreter 

https://www.oracle.com/index.html

Download jdk: Click Downloads-- Click java - java (JDK) for Developers-- according Image click download to download the latest version (old version downloaded below)

Note that when downloading is optimistic about the 64-bit or 32-bit

 

 

Download old version

 

Set Environment Variables

Environment variables are necessary parameter settings, you must manually set the JAVA virtual machine running on windows system, which is a lot easier to understand the novices.
First Right My Computer, click Properties to open the Advanced System Settings, click Environment Variables.

 

然后点击系统变量的新建,分别填写以下几对变量名与变量值:
第一对:
变量名:JAVA_HOME
变量值:C:\Program Files\Java\jdk1.8.0_51(这个根据你jdk的安装路径来,这个路径下有bin,lib等子文件夹)
第二对: 在path这个变量名新建新的一个变量值:%JAVA_HOME%\bin


检查环境变量搭好了:调出“cmd”检查
1、输入:“java”,你应该看到下面的东西:

下载安装eclipse

https://www.eclipse.org/downloads/

Eclipse中配置JDK:

window——preferences——java——installed jres——Add——Standard VM——Directory(找到你的jdk安装路径)——Finish——Apply and close

 

Guess you like

Origin www.cnblogs.com/FanKL/p/11129719.html