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