Java Fundamentals-Overview

Source: Internet
Author: User

Java language history:
JAva Development Kit 1.0.2 1.1.1-1.1.6-1.1.7 1.1.8 1.2.1 Java 2 SDK 1.2.2 1.3 .0, 1.3.1 1.4.0, 1.4.1->1.4.2->1.5.0 (5.0)->1.6.0 (6.0)->1.7.0 (7.0) jdk8


Java language platform version: J2SE(Java 2 Platform standard Edition) is a solution for developing common desktop and business applications, which is the basis for a number of other desktop applications that can be developedJ2ME(Java 2 Platform Micro Edition) Small edition is a solution for developing electronic consumer products and embedded devicesJava(Java 2 Platform Enterprise Edition) is a set of solutions for applications in the development of enterprise environments, including technologies such as Servlets, JSPs, etc., primarily for web application development

Java language Features:
Simple interpretative object-oriented high performance Multithreaded distributed processing
Robust structural neutrality
Dynamic Open Source security across platforms


Cross-platform: Applications written in the Java language can be run on different system platforms. Just install a Java Virtual machine (JVM javaVM) on the operating system that needs to run the Java application. The JVM is responsible for the operation of the Java program in the system.

JRE and JDK: JRE (Java Runtime Environment Java Run environment), including Java virtual machines (JVM Java machine) and Java programs required by the core class library, etc., if you want to run a well-developed Java program, You only need to install the JRE in your computer. JDK (Java Development Kit Java SDK), the JDK is available to Java developers with Java development tools and JRE. So with the JDK installed, you don't have to install the JRE separately. Development tools: Compilation Tools (Javac.exe) packaging Tools (Jar.exe), etc.

Configuration of environment variables:
by configuring the PATH environment variable, the directory in which the JAVAC directive resides, the bin directory under the JDK installation directory, is configured under the PATH variable to allow the javac instruction to run in any directory WIN7,WIN8 system: Right click on desktop computer → select Properties → select advanced system settings → select advanced tab → Click environment variables → find path→ in system variables below double-click Path XP system: Right click on desktop computer → select Properties → select advanced tab → Click environment variables → find path→ in system variable double-click Path Add the Bin directory under the JDK installation directory to the leftmost side and add a semicolon
PATH environment variable reference configuration mode 1, create a new variable name: Java_home 2, add variable value for Java_home: J DK installation directory 3, the PATH environment variable in the JDK directory modified%java_home%\bin;
PATH environment variable has order
classpath environment variable configuration mode 1, create a new variable name: Classpath value is set to the specified class file directory, the use of semicolons between multiple directories (;) segmentation: the CLA The. class files in the Sspath directory can be run in any directory Tip: Typically add the configuration to the front of the directory. Configuration, even if the current directory, the. class file search when the current directory is searched, and then based on the order of the directory configuration to find, and then run, so the configuration in the Classpath directory has a sequential

javac **.java compiling Java **[.class] execution


Java Fundamentals-Overview

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.