惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

博客园 - 龙城1号

谈谈几十种文件传输工具、FTP工具、跨平台手机电脑互传工具 office必须知道的一些事情 软件下载网址大全 配置ip的脚本bat详解 监控ip在线状态 部分毕业设计的论文和代码 隐藏在照片里的情书 关于系统多功能恢复盘制作 免费的ASP.net2.0免费空间 WMp和RealPlayer空间的一些命令 卡巴斯基激活码无限量获取 如何删除runauto...病毒 配置php开发环境 网刻 U盘启动盘 fckeditor转载 截取字符串substring() asp.net连接mysql 把SQL数据库部署到远程主机环境
用eclipse开发java
龙城1号 · 2010-03-05 · via 博客园 - 龙城1号

今天,师妹说要做java开始,于是去eclipse的官方下。

进入download栏目,里面有classic版本,点击进入下载。

是个zip文件,解压开后,双击,发现提示缺少JRE或者JDK,于是下载JRE,(毕竟JRE小嘛)

安装JRE到eclipse/jre下,然后双击运行eclipse,发现可以运行了。

按照如下步骤,测试helloworld通过,证明可以做java的命令行开发了。

第一步:新建Java项目

选择“File→New→Project...”,选择“Java Project”,点击“Next”,便打开了“New Java Project”向导。在“Project name”中填入“HelloWorld”,不需要进行其他设置,直接左击“Finish”按钮。

第二步:新建HelloWorldApp类

选择“File→New→Class”,在“New Java Class”向导中的Name框中输入“HelloWorldApp”,并且在“public static void main(String[] args)”选项前面打上勾。

这时,向导会有一个提示,由于项目简单,不需要用到package,所以不必理会。最后按下“Finish”按钮。这时你会发现,上期连载中的 Hello World!程序框架代码已经自动生成。这就是Eclipse的代码生成(Code Generation)特性(见图3)。

第三步:添加打印语句

与上回连载中的代码相比,现在仅仅缺少一句输出“Hello World!”字样的语句:

System.out.println("Hello World!");