Java Basic Note day01

Source: Internet
Author: User

the path to JAVA development --- basic article

Software development

Software: A collection of computer data and instructions organized in a specific order

Common software:

System software:Windows dos IOS

Application software: Desktop software such as minesweeper

What is development: making software

Interactive

The use of software is a better interaction between man and computer.

Interaction mode : 1. Command line interaction mode

2. Graphical interaction mode

Language people communicate with people the way computer language people communicate with computers C C + + JAVA and so on ..... earning!!!!!

JAVA Language Overview Historical Development

three architectures:javaee javase javame

Java Features: cross-platform one- time compilation run Anywhere

Java Environment Building

JRE Java Runtime Environment virtual machine + Environment Class library

The JDK Java SDK also contains the SDK's development Tools : Javac.exe compiler tool java.exe Packaging Tools

Command line mode

Technique CD into the catalog CD . enter the upper level cd\ go to the root directory del Deleting Files * wildcard characters

Md Create directory Rd Delete directory Note: to ensure that the directory is empty, or you can delete the exit from inside Out exit the command line CLS clear screen Help Help Usage instance Set TEMP environment variable

Set path view set Path=haha modify set path = empty

environment variable Configuration

First environmental construction :

%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem

F:\jdk\bin;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem

Second environmental construction :

Java_home=f:\jdk

path=%java_home\bin%;

Temporary environment variable Construction

Set Path= ( example g:\jdk1.6.3\bin) Foundation Construction

g:\jdk1.6.3\bin;%path% Set path = new value if an environment variable is already in progress ;%path%

Create a Java file

Xxx.java

Missing Main method

Code to have the use of a Reading tab tab

Class path class file environment variable

Set classpath view set classpath= empty set classpath="g:\" Change path

Set classpath= "g:\;" Add a semicolon to the path

You should not add semicolons so that the path is not chaotic!!

. represents the current path or other path, such as G the disk path

Java Basic Note day01

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.