Java Basics (i)

Source: Internet
Author: User

Introduction of Java and development environment configuration

  Introduction to Java

Java is a generic term for the Java programming language and Java platform introduced by Sun in May 1995. "Sun has been acquired by Oracle Company on April 20, 2009."

Currently, Java is divided into three categories:

Jse:java standard Edition is suitable for desktop series of JAVA2 Platform Standards Edition;

Jme:java Micro Edition for small devices and smart cards JAVA2 platform Micro version;

J2e:java Enterprise Edition is a JAVA2 platform for creating server applications and services.

  The difference between JDK and JRE

Jdk:java Development Kit (Java SDK), simply stated that the JDK is the SDK for developers "Software Development Kit: Different development tools are not the same", she provides the Java development and operating environment.

Jre:java Runtime Environment (Jjava execution Environment), the JRE is the Java Runtime Environment and is intended for users of Java programs, not developers.

  Note: The JDK contains the JRE.

  Java Development Environment Configuration

  The first step: to download the Oracle website, search "jdk download";

Step Two: Configure the environment variables.

Windows system:

Right-click My Computer----high-level---environment variables, where you set up the Java development environment.

Java_home: Configuring the directory for the JDK

  "D:\Java\jdk"

CLASSPATH: For the JVM, specify where to find the class code path (bytecode. class file Tools.jar) to be used by the runtime

".; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar "

PATH: Specifies the location of the executable program

"D:\Java\jdk\bin"

Linux Systems

  Configuring the JDK

You can configure the last line in the. BASHRC below the home directory:

    

  

Java Basics (i)

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.