eclipse下载
JDK7 32位 下载地址:http://pan.baidu.com/s/1kTotVARJDK7 64位下载地址:http://pan.baidu.com/s/1i3AcKtf
eclipse 32位下载地址:http://pan.baidu.com/s/1mg3QY9q
eclipse 64位下载地址:http://pan.baidu.com/s/1jGy5uZ0
src文件存放源文件
bin存放编译后的字节码文件
.classpath .project 项目配置文件
src新建class
file-new-Javaproject
new-class
写入代码:
package first;
public class HelloWorld {
public static void main(String[] args){
System.out.println("HelloWorld");
}
}
执行代码:右键-Run as