Java Core Technology I---Java Development environment configuration

Source: Internet
Author: User
Tags java web java se

A: often have to see Java se,java Ee,java ME, then their differences? 1. Java SE (Java Platform,standard Edition Java Platform Standard Edition).
Java SE was formerly known as J2SE. It allows you to develop and deploy Java applications that are used in desktops, servers, embedded environments, and live environments.
Java SE contains classes that support Java WEB Service development and provides the foundation for Java platform,enterprise Edition (Java EE). Java SE is the software that runs on a computer.

2. Java EE (Java platform,enterprise Edition Java Platform Enterprise Edition).
This version was formerly known as the Java EE. The Enterprise Edition helps develop and deploy portable, robust, scalable, and secure server-side Java applications.
2.0 application. Java EE is used to make Web sites (our common JSP technology).

3. Java ME (Java Platform,micro Edition Java Platform Mini Edition).
This version was formerly known as J2ME. Java ME provides a robust and flexible environment for applications running on mobile devices and embedded devices such as mobile phones, PDAs, TV set-top boxes, and printers.
Java ME includes a flexible user interface, robust security model, many built-in network protocols, and rich support for Web and offline applications that can be dynamically downloaded. Applications based on the Java ME specification need to be written once, can be used for many devices, and can take advantage of the native capabilities of each device. Java ME is a mobile phone software.
On a computer can install Java SE, Java EE, Java ME, does not affect the corresponding development needs, with the corresponding version.

A more complete introduction--Tweet: Java se/ee/me concept Understanding (Java Version Development history)

Supplemental: SE and EE
The Java Ee:java EE platform is built on the Java SE platform, and the Java EE platform provides a set of APIs and runtime environments to develop and run large-scale, multi-tiered, scalable, reliable, and secure Web applications.
That is, Java EE is a standard , and the implementation of these standards is provided by the Web container , such as Servlet-api, The Lib folder under the Tomcat Web container integrates the Servlet-api.jar package.
8, these two are different things.
8 8. Then the relationship can be linked, but the function is differentiated.
II: Development Environment Installation

Tweet: Java Development environment Configuration

(i) Download Java Development Kit jdk:http://www.oracle.com/technetwork/java/javase/downloads/index.html

The JRE is also installed when the JDK is installed.
Select the installation directory for C:\Program Files (x86) \java\jdk1. 8. 0_91
(ii) Setting environment variables (System variables)
Set 3 properties in " system variable " , Java_home,path,classpath (case does not matter), if already exists then click " edit " , click " new "if it does not exist.
variable Name: Java_home variable Value: C:\Program Files (x86) \java\jdk1. 8. 0_91        //  To configure the variable name according to its actual path : Classpath variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;         // Remember, there's a "." in front. variable Name: PATH variable value:%java_home%\bin;%java_home%\jre\bin;
III: Install Eclipse development software

Address: https://www.eclipse.org/downloads/(Standard)

You can download the expansion pack here: https://www.eclipse.org/downloads/eclipse-packages/

Next.

Four: Set up the Eclipse workspace, create the first project (a) set up a workspace

(ii) Creation of new projects

(iii) Start Hello World

Package Hello;  Public class Hello {    /** *     @param     args*/public    Static  void  main (string[] args) {        //  TODO auto-generated method Stub C18/>system. out. println ("We won't use the' Hello world '! " );    }}

Add:
Alt +/is a shortcut to eclipse completion code

Java Core Technology I---Java Development environment configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.