This blog post last modified: January 06, 2017, 11:06.
First, Introduction
This article describes how to write the first code HelloWorld in Java.
second, build a platform
System version: ghost_win7 SP1 x64 2015 08 Pure Edition
Third, the copyright notice
Bo Main: Sweet melon
Statement: Water do not forget to dig well people, reproduced please indicate the source.
Original address: Http://blog.csdn.NET/feilusia
Contact Way: 897503845@qq.com
Melon ble CC2541 Group: 127442605
Melon ble CC2640 Group: 557278427
Melon ble android Group: 541462902 melon Single chip computer Stm8/stm32 group: 164311667
Sweet Big melon Shop (Taobao): https://shop217632629.taobao.com/?spm=2013.1.1000126.d21.hd2o8i
Four, the experiment Premise 1, before the step of this article, please read the following blog: No
2, before the steps of this article, please implement the following blog:
Temporarily No
v. Basic knowledge
Temporarily No
Vi. Steps of the experiment
1, write code Hello.java (put in E:\JAVA)
public class hello{public
static void main (String []args) {
System.out.println ("helloworld!");
}
Write in Notepad.
Vii. Matters needing attention
Temporarily No
viii. Results of the experiment
1. Compile and run
2, learn to use the Classpath property to run the program
The above illustration illustrates several points:
1 You can use CLASSPATH in other directories to change the path of the class to the directory of. class, and then run.
2) Classpath is not applicable and compiled.