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)