﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-鸟与梦想迁徙</title><link>http://www.blogjava.net/jessehua/</link><description /><language>zh-cn</language><lastBuildDate>Sun, 12 Apr 2026 14:51:46 GMT</lastBuildDate><pubDate>Sun, 12 Apr 2026 14:51:46 GMT</pubDate><ttl>60</ttl><item><title>java文件名的命名</title><link>http://www.blogjava.net/jessehua/archive/2005/07/21/8126.html</link><dc:creator>鸟与梦想迁徙</dc:creator><author>鸟与梦想迁徙</author><pubDate>Thu, 21 Jul 2005 06:33:00 GMT</pubDate><guid>http://www.blogjava.net/jessehua/archive/2005/07/21/8126.html</guid><wfw:comment>http://www.blogjava.net/jessehua/comments/8126.html</wfw:comment><comments>http://www.blogjava.net/jessehua/archive/2005/07/21/8126.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.blogjava.net/jessehua/comments/commentRss/8126.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jessehua/services/trackbacks/8126.html</trackback:ping><description><![CDATA[<P>一个.java文件只能有1个public class,另外如果有public class,那么文件名必须与修饰符为public的类名相同，一个文件中可以没有public class，这时候文件名随意命名 <BR>例如：文件名下面的文件名必须为HelloWorld.java<BR>public class HelloWorld{<BR>&nbsp;public static void main(String[] args){<BR>&nbsp;&nbsp;System.out.println("helloworld");<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;}<BR>}<BR>class Test{<BR>&nbsp;&nbsp; int a=0;<BR>} </P>
<P>下面的文件名可以任意比如说Demo.java</P>
<P>class HelloWorld{<BR>&nbsp;public static void main(String[] args){<BR>&nbsp;&nbsp;System.out.println("helloworld");<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;}<BR>}<BR>class Test{<BR>&nbsp;&nbsp; int a=0;<BR>} </P>
<P>&nbsp;</P><img src ="http://www.blogjava.net/jessehua/aggbug/8126.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jessehua/" target="_blank">鸟与梦想迁徙</a> 2005-07-21 14:33 <a href="http://www.blogjava.net/jessehua/archive/2005/07/21/8126.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>选择适合自己的JavaIDE</title><link>http://www.blogjava.net/jessehua/archive/2005/07/15/7802.html</link><dc:creator>鸟与梦想迁徙</dc:creator><author>鸟与梦想迁徙</author><pubDate>Fri, 15 Jul 2005 14:16:00 GMT</pubDate><guid>http://www.blogjava.net/jessehua/archive/2005/07/15/7802.html</guid><wfw:comment>http://www.blogjava.net/jessehua/comments/7802.html</wfw:comment><comments>http://www.blogjava.net/jessehua/archive/2005/07/15/7802.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jessehua/comments/commentRss/7802.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jessehua/services/trackbacks/7802.html</trackback:ping><description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">工欲善其事，必先利其器。选择一款适合自己的工具，可以达到事半功倍，缩短开发周期的功效。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">常用的</SPAN><SPAN lang=EN-US>JavaIDE</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">有记事本，</SPAN><SPAN lang=EN-US>editplus</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>ultraedit</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等文本编辑器，</SPAN><SPAN lang=EN-US>jcreator</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，开源的</SPAN><SPAN lang=EN-US>eclipse</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>Boland</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">公司的</SPAN><SPAN lang=EN-US>JBuilder</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>Sun</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">公司的</SPAN><SPAN lang=EN-US>Netbeans</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，还有</SPAN><SPAN lang=EN-US>IBM</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的</SPAN><SPAN lang=EN-US>Visualage</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。近期</SPAN><SPAN lang=EN-US>oracle</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">公司将会宣布其公司的</SPAN><SPAN lang=EN-US>JDeveloper</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可以免费供用户使用。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在网上看到</SPAN><SPAN lang=EN-US>JavaIDE</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用最多的为</SPAN><SPAN lang=EN-US>eclipse</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>JBuilder</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和</SPAN><SPAN lang=EN-US>Netbeans</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</SPAN><SPAN lang=EN-US>Eclipse</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">是开源软件，可以免费下载，因此不会引起版权之类的问题。</SPAN><SPAN lang=EN-US>Eclipse</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">功能强大，因其丰富的插件而著名。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">现在</SPAN><SPAN lang=EN-US>Netbeans</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的使用人数大增，毕竟是</SPAN><SPAN lang=EN-US>sun</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">公司自家的东西，血统正宗，根正苗红。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>JBuilder</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">功能强大，作</SPAN><SPAN lang=EN-US>GUI</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">尤其方便，可以像使用</SPAN><SPAN lang=EN-US>vb</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">那样拖拽控件，但是占用系统资源较多，对系统配置要求较高。一套正版</SPAN><SPAN lang=EN-US>JBuilder</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的价格很高，因此大多数人都使用盗版的。我觉得一个程序员使用盗版工具开发项目有些说不过去，一些正规的公司都不允许程序员使用盗版</SPAN><SPAN lang=EN-US>JBuilder</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发项目，因为会有版权之类的问题。所以我建议大家都是用开源免费的</SPAN><SPAN lang=EN-US>IDE</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。在网上看到，</SPAN><SPAN lang=EN-US>eclipse</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">外国程序员使用较多，</SPAN><SPAN lang=EN-US>JBuilder</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中国程序员使用较多。我想从中也能够看出一些问题来。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21.75pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对于初学者（有些大言不惭啊，其实我也菜鸟一个），我建议还是使用记事本，</SPAN><SPAN lang=EN-US>editplus</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>jcreator</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">之类小巧，使用简单的工具。因为</SPAN><SPAN lang=EN-US>eclipse</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>JBuilder</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>netbeans</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">操作起来相对复杂，初学者刚开始对</SPAN><SPAN lang=EN-US>java</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的庞大类库已经很头大了，还要花很多的时间去研究</SPAN><SPAN lang=EN-US>IDE</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">工具的使用，必定是信心大减。我们是使用工具，而不能被工具使用。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21.75pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如果你已经能够使用</SPAN><SPAN lang=EN-US>javac</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>java</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">名令来编译和运行</SPAN><SPAN lang=EN-US>java</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">程序，那么我强烈推荐一款小巧，使用方便的工具</SPAN><SPAN lang=EN-US>JCreator</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US>JCreator</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">能够自动提示语法，高亮显示关键字，自动缩进等功能。</SPAN><SPAN lang=EN-US>JCreator</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的最新版本为</SPAN><SPAN lang=EN-US>JCreator3.5pro</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，能够很好的支持中文，而早先的版本如果程序代码中使用中文，则显示的是乱码。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></SPAN></P><img src ="http://www.blogjava.net/jessehua/aggbug/7802.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jessehua/" target="_blank">鸟与梦想迁徙</a> 2005-07-15 22:16 <a href="http://www.blogjava.net/jessehua/archive/2005/07/15/7802.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JCreator配置JSP环境 </title><link>http://www.blogjava.net/jessehua/archive/2005/07/03/7073.html</link><dc:creator>鸟与梦想迁徙</dc:creator><author>鸟与梦想迁徙</author><pubDate>Sun, 03 Jul 2005 15:41:00 GMT</pubDate><guid>http://www.blogjava.net/jessehua/archive/2005/07/03/7073.html</guid><wfw:comment>http://www.blogjava.net/jessehua/comments/7073.html</wfw:comment><comments>http://www.blogjava.net/jessehua/archive/2005/07/03/7073.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/jessehua/comments/commentRss/7073.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jessehua/services/trackbacks/7073.html</trackback:ping><description><![CDATA[<FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>jcreator对于初学java的人来说是个不错的选择，刚开始学jsp没几天，发现用jcreator学习jsp还是很顺手的。现在我就说说JCreator配置JSP环境：<BR>&nbsp;jdk，tomcat的安装，环境变量的配置我就不说了。<BR>1。首先导入Tomcat的jar文件：打开菜单configure----Options----JDK Profiles---edit---add：添加tomcat安装目录下common\lib文件夹下的jsp-api.jar和servlet-api.jar。<BR><BR>2.configure---Options----tools---new:program把tomcat安装目录下bin文件夹中的startup.bat文件选中，tools框中多了一项startup。<BR>3，再点击new以同样方法把bin文件夹下的shutdown.bat文件选中，tools框中多了一项shutdown。<BR>4，然后再点击new：program选中C:\Program Files\Internet Explorer下的iexplore.exe，tools框中多了一项iexplore，点击apply应用添加工具。然后在左边的列表中点击tools，然后再点击iexplore修改参数：再Arguments中输入自己JSP的文件地址，例如：http://localhost:8080。在下面的单选框中选中Run in internal browser.点击ok配置完成。<BR><BR>然后在tools菜单下点，startup项或者ctrl+1是启动tomcat，shutdown项或者直接按快捷键ctrl+2是停止tomcat。iexplore是浏览自己的jsp网页<BR></FONT><img src ="http://www.blogjava.net/jessehua/aggbug/7073.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jessehua/" target="_blank">鸟与梦想迁徙</a> 2005-07-03 23:41 <a href="http://www.blogjava.net/jessehua/archive/2005/07/03/7073.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>从今天开始我的JAVABlog之旅</title><link>http://www.blogjava.net/jessehua/archive/2005/07/03/7072.html</link><dc:creator>鸟与梦想迁徙</dc:creator><author>鸟与梦想迁徙</author><pubDate>Sun, 03 Jul 2005 15:11:00 GMT</pubDate><guid>http://www.blogjava.net/jessehua/archive/2005/07/03/7072.html</guid><wfw:comment>http://www.blogjava.net/jessehua/comments/7072.html</wfw:comment><comments>http://www.blogjava.net/jessehua/archive/2005/07/03/7072.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/jessehua/comments/commentRss/7072.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jessehua/services/trackbacks/7072.html</trackback:ping><description><![CDATA[<FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 申请过好几个Blog了，但是由于这样那样的原因，也没有写点什么，或许是自己太懒了。昨天一不小心发现javablog这个网站，发现里面好文章很多，然后就申请了个ID。《鸟与梦想迁徙》是discovery系列中的一部，挺不错的。一直都感觉JAVA的体系太庞大了，要学的东西太多太多。从今天开始，我要每天记录下我JAVA学习过程中的心得和体会。表表决心先。</FONT><img src ="http://www.blogjava.net/jessehua/aggbug/7072.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jessehua/" target="_blank">鸟与梦想迁徙</a> 2005-07-03 23:11 <a href="http://www.blogjava.net/jessehua/archive/2005/07/03/7072.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>