Java Learning Diary DAY1

Source: Internet
Author: User

Basic concepts

Hardware: Hardware

Software: Software (Microsoft)

Operating systems: os,operating system bare-metal, Unix-like systems (linux< red flag, Redhat,.. >,aix,xenix ...), Microsoft Windows,mac OS, Office,exchange Mail server, Android (Android), iOS apple, Windows Phone

RAM: Internal memory, for short

External memory: External memory

Loading: Load

Programming Language: Programming language

Low-level language: is a more computer-friendly language (binary language), such as assembly language mnemonic, high efficiency (fast, the same function needed to complete the code less), not studious, not good.

High-level language: closer to human natural language (compiler)

FORTRAN,DELPHI,POWERBUILDER,VB: More Outdated

C,c++: High operating efficiency

asp,php: Writing a Web program is a Web site

Vbscript,javascript,python: scripting language

HTML: Markup Language for writing web pages

CSS: Stylesheet language for defining style styles for Web pages

SQL: Bigdata massive data for manipulating data in a database

Java EE (Java),. Net (c#,vb.net,j#,... ASP) 2 Enterprise Edition Sun 1995,microsoft 2002, post-secondary advantage

OpenSource Open Source

Android development (mainly in Java language)

iOS development (with objective C)

The main language used in this course: SQL,JAVA,JAVASCRIPT,HTML,CSS,

Second set Java development environment configuration

What needs to be prepared for Java development?

Jdk+eclipse the JDK means the Java SDK, the full name of Java Development Kit,eclipse is a tool for developing Java programs.

Other development tools: Jcreator,jbuilder,...

1. Download the JDK, notice the three versions of the JDK, enter the JDK directly from Baidu, and you can locate the relevant page of the Orale website and explain it to the students on the page.

Developed by Java Sun and acquired by Oracle Corporation

Divided into three versions

Java SE sdk,java EE SDK, Java ME SDK

SE means that Standard Edition Edition can only develop desktop systems

EE means that enterprise Edition can develop a web system

I mean embedded version of Micro Edition Embedded system development (mobile phones, smart devices, smart home appliances)

Download Download

Accept License Agreement agree to license agreement

Decline License Agreemen does not agree with the license agreement

Solaris Unix-like operating systems

Jdk8u20 update= Update

The SDK means the Software Development Kit Software Development Kit

Download the J2SE and put it on. Generally do not need to install the Java EE, later when the web development, can be reconfigured.

Java se/ee/me SDK, collectively known as JDK

Version Description: 32-bit version, 64-bit version, multi-language version (multi-language)

Guide students to check the number of bits of their operating system

JRE = Java Runtime environment = Java Run-time environment

2. Download Eclipse

Official website www.eclipse.org

3. Configure Environment variables

A little more complicated.

Javac Java Compiler

DOS Operating system command line

The purpose of configuring environment variables is to configure the path so that eclipse can find the commands and library files in the JDK.

1) java_home fill in the path to the JDK installed on your computer's local disk, such as C:\Program files\java\jdk1.7.0_25 (you must fill in your actual JDK installation path)

2) Path is set to%java_home%\bin;%java_home%\jre\bin (copy is available, fill in)

3) CLASSPATH is set to.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar (must Add.), can also be set directly to.; %java_home%\lib\, contains all library files under the Lib directory.

class = Classpath class path

4. Write the Hello World program to check the correctness of the environment configuration

Workspace workspace, folder where programs are stored

Project Engineering, Projects

File,new,java project,use default Location,finish,next,src=source (source code), System (systems), library (libraries, libraries)

Class (Classes, Class)

SYSTEM.OUT.PRINTLN ("Hello!");

Some of the basic concepts in 5.Java

Two important features of Java: open Source = opensource =open Source, cross-platform

Platform = operating system, Windows, Unix-like (Linux,xenix,aix,...), Mac OS

Write once, run anywhere (code) writes once, can be running everywhere

Photoshop (Adobe)

Cross-platform

JVM = Java Virtual machine = java VM translation

Jre

Bytecode byte code


Java Learning Diary DAY1

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.