﻿<?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-Scott@JAVA-随笔分类-IDE</title><link>http://www.blogjava.net/cisco/category/6839.html</link><description>Java, 一杯浓浓的咖啡伴你到深夜</description><language>zh-cn</language><lastBuildDate>Tue, 03 Jul 2007 23:58:46 GMT</lastBuildDate><pubDate>Tue, 03 Jul 2007 23:58:46 GMT</pubDate><ttl>60</ttl><item><title>Last Milestone Of NetBeans 6.0 Is Available</title><link>http://www.blogjava.net/cisco/archive/2007/07/03/127725.html</link><dc:creator>Scott@JAVA</dc:creator><author>Scott@JAVA</author><pubDate>Mon, 02 Jul 2007 22:56:00 GMT</pubDate><guid>http://www.blogjava.net/cisco/archive/2007/07/03/127725.html</guid><wfw:comment>http://www.blogjava.net/cisco/comments/127725.html</wfw:comment><comments>http://www.blogjava.net/cisco/archive/2007/07/03/127725.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/cisco/comments/commentRss/127725.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/cisco/services/trackbacks/127725.html</trackback:ping><description><![CDATA[<p>Milestone 10 of NetBeans 6.0 (M10) is now available for download at <br><a class=moz-txt-link-freetext href="http://dlc.sun.com/netbeans/download/6.0/milestones/m10/"><u><font color=#810081>http://dlc.sun.com/netbeans/download/6.0/milestones/m10</font></u></a><br></p>
<p>Some of the highlights: <br><br>* New default color scheme and syntax coloring <br>* Ruby Debugger enhancements (global vars, watch view, locals view) <br>* Redesigned Find / Replace dialog <br>* Plugin Manager allows you to distribute groups of IDE components (for example Ruby, SOA) <br>* Integrated Visual Design for Web Applications <br>* New, Integrated UI for CLDC/MIDP and CDC development<br>* Limited refactoring of GUI forms<br>* New keyboard shortcuts (they're supposed to be more logical now)<br>* New refactorings - 16 refactorings now available out of the box<br>* New directory chooser - easier to use for new NetBeans users<br><br>Of course there's much more available: <br><a class=moz-txt-link-freetext href="http://wiki.netbeans.org/wiki/view/NewAndNoteWorthyMilestone10"><u><font color=#810081>http://wiki.netbeans.org/wiki/view/NewAndNoteWorthyMilestone10</font></u></a> <br><br>M10 was the last milestone, we will now be slowly approaching the betas (two betas are planned), rcs and ultimately the final release of NetBeans 6.0. If you want to see what all will be available in 6.0, here's <a href="http://wiki.netbeans.org/wiki/view/NewAndNoteWorthy"><u><font color=#810081>full list of the features in previous milestones</font></u></a>.<br></p>
<img src ="http://www.blogjava.net/cisco/aggbug/127725.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/cisco/" target="_blank">Scott@JAVA</a> 2007-07-03 06:56 <a href="http://www.blogjava.net/cisco/archive/2007/07/03/127725.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java IDE继续飘香</title><link>http://www.blogjava.net/cisco/archive/2007/04/29/114461.html</link><dc:creator>Scott@JAVA</dc:creator><author>Scott@JAVA</author><pubDate>Sat, 28 Apr 2007 22:45:00 GMT</pubDate><guid>http://www.blogjava.net/cisco/archive/2007/04/29/114461.html</guid><wfw:comment>http://www.blogjava.net/cisco/comments/114461.html</wfw:comment><comments>http://www.blogjava.net/cisco/archive/2007/04/29/114461.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/cisco/comments/commentRss/114461.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/cisco/services/trackbacks/114461.html</trackback:ping><description><![CDATA[<p class=a14><strong>即使在微软开发平台大行其道的今天，Java IDE仍是企业开发人员用得最多的应用开发工具之一。可是，在实际使用中应该选择哪一种IDE呢？本文为开发者提供了一些选型的依据。</strong>
<p class=a14>Borland JBuilder、IBM Rational以及Sun NetBeans这三款著名的Java开发工具曾经分别获得美国《InfoWorld》2005、2006、2007年度的Java IDE产品类别&#8220;年度技术&#8221;奖，是目前市面上应用最多、性能最强大的开发工具之一。在过去的几年里，这些工具都成熟了很多，特别是在静态代码分析、单元测试和版本管理等方面取得了巨大进步。本文对这三款开发工具进行了详细评测，以期为开发人员提供一些选型的依据。
<p class=a14>IBM RAD 7： 不支持Java EE 5、Java SE 6
<p class=a14>IBM Rational Application Developer for WebSphere Software 7.0（简称RAD 7）基于Eclipse——Borland/CodeGear的JBuilder产品系列也基于这个开源软件框架。Eclipse原先就是一种Java IDE，不过近几年它重新定位，作为可以往上面添加多种插件的框架，因而可以构建各种各样的工具（许多工具与Java开发没有关系）。Eclipse新的框架定位引起了一些人的担忧，生怕原先的Java IDE概念已被淡化。这种担心也许不无道理，不过好就好在Eclipse目前拥有最大的Java插件社区。
<p class=a14>RAD 7为改动后的Eclipse库添加了几个组件，其中不少组件面向企业应用开发，它们包括门户组件和门户开发工具，还有广泛的数据库支持。数据库支持（尤其支持IBM的DB2）包括了编写用户自定义函数（UDF）、存储过程和SQLJ代码的功能，而这些都是本次测评的三款产品中特有的功能。
<p class=a14>不过，RAD 7的图解和建模功能比较有限，它只支持两种UML图（NetBeans和JBuilder分别支持八种和九种）。要从IBM获得更全面的图表支持功能，就得购买价格更昂贵的IBM Rational Software Architect。
<p class=a14>有了RAD 7，就可以开发Web服务和Web服务客户程序，生成Web服务描述语言（WSDL），甚至对专有的通用描述发现集成（UDDI）服务进行单元测试。另外，它还支持IBM的DADX，这是Web服务使用的DB2 XML扩展。遗憾的是，该产品以IBM为中心的特性还影响到了UDDI测试：它只支持使用基于IBM技术的专有注册库。
<p class=a14>在编码方面，RAD 7提供了静态分析工具，集成了IBM开发的200多项规则，适用于处理可能存在的Java缺陷和编码错误。尽管本次测评的其他IDE提供了更多规则，但IBM的解决方案可以把这些产品无法发现的错误标记出来，并详细说明使用规则的原因以及解决问题的示例代码。这种全面的帮助体现了IBM一贯以来的传统：说明文档翔实、完备。RAD可链接到广泛的教程。以丰富的文章数量而在开发社区中享有盛名的IBM网站也提供了另外一些资源。
<p class=a14>如果应用程序需要脚本语言来把各部分&#8220;粘合&#8221;起来，RAD 7还提供了内部支持基于Java的Python（Jython）的功能。遗憾的是，该IDE无法自动区别什么是Jython、什么是Java，尽管这两门语言的语法全然不同。这会导致有些操作使得IDE无法正常工作。
<p class=a14>尽管这个缺点很小，但表明了我在使用RAD 7时经常遇到的问题：许多特性没有实施好。譬如说，软件安装起来非常困难。得到IBM有关人员的支持后，笔者才正确安装上了该产品，不过原先的一些问题的原因根本就没有找出来。
<p class=a14>问题还不止这些。检查注释和文字拼写的选项（一项有用功能）没法使用，因为IBM没有发布词典。要是这项特性被启用，它会把所有单词标记为拼写有误。代码检查工具指定的纠正操作偶尔会无效。对话框里面的动态帮助经常把用户带到错误的地方，所以只好重新回到特定的上下文。
<p class=a14>一段时间后，这些问题堆积起来使得这个原本不错的产品用起来让人沮丧。另外，还有一个地方要抱怨：IBM在支持现有的Java标准方面落后于其他厂商。它是这次测评中惟一不支持Java EE 5和Java SE 6的一种IDE。
<p class=a14>因此，本文推荐已经在大量使用IBM产品的站点使用RAD 7，因为该产品特别支持这些产品，尤其是DB2和WebSphere。另外，要是站点希望许多国家的开发人员使用同一种IDE，应当会喜欢RAD 7，因为它的外文版本比其他任何一种IDE都要多得多。不过，价格比较高，加上其他方面的一些不足可能会促使站点在斥资购买之前会考察所有方案。
<p>
<center><img src="http://www2.ccw.com.cn/07/0714/b/pic/b10_3t2.jpg"></center>
<p class=a14>JBuilder 2007：相当出色的IDE
<p class=a14>Borland/CodeGear JBuilder 2007 Enterprise Edition在这次测评中荣登榜首。这个版本是自该产品移植到Eclipse平台以来的第一个版本。它由专门开发IDE工具的Borland旗下的CodeGear发布。由于Borland的产品用起来历来有难度，加上这是新平台上的第一个版本，所以我以为这个优秀产品会有些不尽如人意的地方。结果出乎所料，这个非常顺畅而稳定的IDE有许多创新的特性。可以这么说，CodeGear肯定为这个版本耗尽了心血，事实上确实也取得了辉煌成功。
<p>
<center><img src="http://www2.ccw.com.cn/07/0714/b/pic/b10_3t3.jpg"></center>
<center><img src="http://www2.ccw.com.cn/07/0714/b/pic/b10_3t4.jpg"></center>
<center><img src="http://www2.ccw.com.cn/07/0714/b/pic/b10_3t5.jpg"></center>
<p class=a14>至于Java编码，JBuilder有三个不同系列的代码审查器和分析器：开源PMD、Findbugs和Borland自己的代码检查工具。这些工具可以很好地协同工作（实际上，它们带来的众多标记项可能让开发人员招架不住），不过它们对出现的问题没有解释应采取什么措施，也没有IBM的RAD 7产品那样全面的问题解决建议办法。
<p class=a14>JBuilder捆绑了一个度量包（metrics package），它比任何IDE的度量包都来得全面。它可以生成80多种不同的度量，并且以图解或者电子表格的方式显示。用户可以关闭没有兴趣的度量，为确实想要跟踪的那些度量设定阈值。JBuilder还能保存度量快照，那样就可以将代码库的当前状态和前几次执行的状态进行比较，确保数字往正确的方向发展。
<p class=a14>CodeGear集成了JBuilder的OptimizeIt工具套件，多年来Borland把它作为独立产品来提供。OptimizeIt提供了众多的高清晰视图，可以了解软件的性能和内存使用情况。它包括代码覆盖分析（但只能分析类覆盖百分比，而不是逐行分析）及其他可见性，从而可以了解底层发生的情况，包括每个线程的数据。
<p class=a14>JBuilder还提供出众的协作特性。它拥有面向开发人员的消息传送系统，这有助于代码检查以及开发人员的通信。它使用对等设计模式，遗憾的是，只能与同一个网段上的伙伴协同工作。JBuilder为团队协作方面提供了TeamInsight，这个易于配置的门户服务器包括以下几个重要的开源工具：Subversion、Bugzilla、Continuum和XPlanner。该门户可以通过Web接口或者通过JBuilder访问，包含众多的项目报告和度量。其他两种IDE都没法与这种团队合作的紧密性相提并论。
<p class=a14>JBuilder整体上让人觉得可靠、稳定：考虑到它只是Eclipse平台上的第一个版本，取得这样的成绩实属不易。遇到的惟一错误就是经常出现不管用的帮助图标。需要抱怨的地方集中在没有实施的特性上，譬如缺少面向JSP或者JSF的可视化设计器（不过这些设计器很快就会出现）。该产品还无法为使用DB2的应用程序生成部署文件。最后，它目前只有Windows版本。Linux和Mac版本定于5月推出。
<p class=a14>截至测评时的版本价格为1999美元，所以JBuilder并不便宜，但完全物有所值。对不需要所有高端特性的开发人员来说，还可以使用专业版和开发人员版的JBuilder，价格分别为799美元和399美元。
<p class=a14>NetBeans 5.5：可免费下载
<p class=a14>Sun的NetBeans产品是这次测评产品中惟一完全开放源码的产品，可从netbeans.org免费获得。不像其他软件包，NetBeans需要一些组合。可以从核心NetBeans平台着手，添加几个&#8220;包&#8221;（pack），具体取决于开发者的需求。
<p class=a14>目前，Sun提供企业包和Visual Web包（两个都用于这次测评）、用于J2ME编程的移动包以及C/C++包。性能分析包（也用于这次测评）是一个独立的包。这些包包含常用的IDE插件，通常提供了大量新功能。一旦下载了这些包，安装起来就轻而易举。
<p class=a14>几年前，NetBeans更像是有一些优秀特性，但在后面跟随的IDE，难以与其他Java IDE产品真正平分秋色。但现在不再是这样，NetBeans为企业计算环境提供了几项实用特性，包括通过Sun的GlassFish项目这一形式支持Java EE 5。该IDE拥有面向基于服务的企业开发的优秀工具，无论是面向服务的架构（SOA），还是普通的Web服务。譬如说，NetBeans是本次测评中惟一拥有业务流程执行语言（BPEL）所需的全部图解和建模功能的产品。
<p class=a14>不过，该企业服务产品的不足是缺少支持常用产品的功能。NetBeans不支持IBM的WebSphere应用服务器，并且缺少支持JavaDB之外的其他任何数据库的集成功能。不过，后一点需要澄清一下：NetBeans能够识别可通过Java数据库连接性（JDBC）访问的任何数据库，但它只能为JavaDB生成配置文件、充分利用数据库管理系统（DBMS）特定的特性。
<p class=a14>NetBeans的协作特性非常好，拥有内置工具，可用于开发人员之间的实时协作，包括聊天和代码共享功能。不像JBuilder中的这些特性，NetBeans的设计基于服务器。可以构建自己的服务器用于这种通信，也可以免费使用Sun提供的服务器。只要登录到Sun的服务器，所在小组的任何开发人员都会连同他们的登录状态信息显示出来，这种设计类似IM产品中的在线感知（presence awareness）。；
<p class=a14>至于GUI设计，NetBeans捆绑了Matisse，这是同类中最出色的GUI布局工具。把窗口组件拖放到窗格和对话框上时，它们会正确地自动排列。最佳和可选位置排列方面的准则会在拖放操作过程中弹出来。Matisse然后利用这种设计来生成代码。
<p class=a14>如果站点大量开发基于Swing的接口，单单这个工具就让NetBeans成为它们的首选IDE，因为Matisse只与Swing协同工作。幸好，由于Swing的性能和外观感觉得到了稳定发展，这个局限不像以前那样来得严重。
<p class=a14>虽然本次测评的其他Java IDE都使用自己的专有格式来存放项目元数据，但NetBeans巧妙地依赖Ant文件来存放项目的配置数据（其实，它使用相当于make的开源Java工具Ant帮助构建代码）。这具有一大优势：在使用多种Java IDE的开发小组中，其他任何IDE都可以装入及运行NetBeans项目，不必手工转换或者分批导入。
<p class=a14>但使用Ant文件也有一个缺点：NetBeans只支持单一运行时配置。其他IDE大多数可以想编写多少运行时配置，就能编写多少，NetBeans却不是这样。要是每次想改变传递给应用程序的参数，就得手动改变一个配置（即将推出的6.0版本IDE解决了这个问题）。
<p class=a14>显然，NetBeans拥有不同寻常的特性组合——有些特性实施得很好，但另一些完全没有。它不但免费，而且比基于Eclipse的产品响应更迅即、操作更容易，因为它丢弃了Eclipse采用的&#8220;视图&#8221;设计，而是单单使用窗口。另外，NetBeans经常得到改进，拥有非常活跃的开发社区，得益于仅次于Eclipse的庞大插件库。
<p class=a14>事实上，NetBeans的新版本可以解决上述许多抱怨。如果你在考虑NetBeans，不妨在做出决定之前，看一下目前可以获得的版本6测试版。
<p class=a14>链接:其他的Java IDE工具
<p class=a14>挑选IDE的关键是选择既确保工作效率、又便于使用的一种IDE。下面简要介绍一下本文所讨论的产品之外的三个选择。
<p class=a14>Eclipse：如果不需要RAD 7或者JBuilder的高级特性，不妨考虑普通版本的Eclipse，可以从eclipse.org免费下载。如果需要几项高级特性，不妨考虑Genuitec的MyEclipse，它把许多开源工具（包括NetBeans的Matisse）集成到Eclipse里面，费用是每个用户每年54美元。
<p class=a14>JetBrains IntelliJ: 许多开发人员认为这款Java IDE是最有效率、最让人喜欢的纯编码环境。IntelliJ的界面比IBM、Borland或者Sun IDE来得直观，因而博得了美誉。它还有一些独特的特性，譬如说，代码规则在后台运行，所以在编码过程中出现的错误或者错误样式会实时显示；问题被纠正后，就会从屏幕上立马消失。这些规则比本次测评的三款产品都要来得多，对编写大量Java代码、又不需要建模工具的站点而言，IntelliJ是非常可靠、非常低廉的选择。
<p class=a14>Oracle JDeveloper: JDeveloper是一种特性丰富、免费（但不是开源）的Java IDE，可从Oracle网站获得。与NetBeans一样，它也不是基于Eclipse。它支持一些企业特性，包括SOA和Web服务，当然也支持与Oracle数据库技术和OC4J Java应用服务器之间的特殊集成。 </p>
<img src ="http://www.blogjava.net/cisco/aggbug/114461.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/cisco/" target="_blank">Scott@JAVA</a> 2007-04-29 06:45 <a href="http://www.blogjava.net/cisco/archive/2007/04/29/114461.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>IntelliJ IDEA使用技巧一览表</title><link>http://www.blogjava.net/cisco/archive/2007/01/11/93286.html</link><dc:creator>Scott@JAVA</dc:creator><author>Scott@JAVA</author><pubDate>Thu, 11 Jan 2007 15:13:00 GMT</pubDate><guid>http://www.blogjava.net/cisco/archive/2007/01/11/93286.html</guid><wfw:comment>http://www.blogjava.net/cisco/comments/93286.html</wfw:comment><comments>http://www.blogjava.net/cisco/archive/2007/01/11/93286.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/cisco/comments/commentRss/93286.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/cisco/services/trackbacks/93286.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: [转]						在使用				InelliJ IDEA				的过程中，通过查找资料以及一些自己的摸索，发现这个众多				Java				程序员喜欢的				IDE				里有许多值得一提的小窍门，如果能熟练的将它们应用于实际开发过程中，相信它会大大节省你的开发时间，而且随之而来的还会有那么一点点成就感：）				Try it				！				...&nbsp;&nbsp;<a href='http://www.blogjava.net/cisco/archive/2007/01/11/93286.html'>阅读全文</a><img src ="http://www.blogjava.net/cisco/aggbug/93286.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/cisco/" target="_blank">Scott@JAVA</a> 2007-01-11 23:13 <a href="http://www.blogjava.net/cisco/archive/2007/01/11/93286.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>A Bug in BEA Workshop Studio</title><link>http://www.blogjava.net/cisco/archive/2006/12/06/85731.html</link><dc:creator>Scott@JAVA</dc:creator><author>Scott@JAVA</author><pubDate>Wed, 06 Dec 2006 10:21:00 GMT</pubDate><guid>http://www.blogjava.net/cisco/archive/2006/12/06/85731.html</guid><wfw:comment>http://www.blogjava.net/cisco/comments/85731.html</wfw:comment><comments>http://www.blogjava.net/cisco/archive/2006/12/06/85731.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/cisco/comments/commentRss/85731.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/cisco/services/trackbacks/85731.html</trackback:ping><description><![CDATA[It seems there is a bug in BEA Workshop Studio 3.2.1 and 3.3.<br /><br />If you're running Workshop on top of SUN JRE 1.5.0_10 or 1.6.0 rc, the DbXplorer view in the Workshop perspective is not working properly, you can't add database connection (the textfield, which is besides the "Connection Name" label, can't obtain the cursor) as shown in the figure below. <br /><br /><img height="201" alt="bug_workshop.PNG" src="http://www.blogjava.net/images/blogjava_net/cisco/blog%20pics/bug_workshop.PNG" width="450" border="0" /><br /><br />However,with SUN JRE 1.5.0_09, everything is fine, which can obtain from the following link.<br /><br /><a href="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;PartDetailId=jdk-1.5.0_09-oth-JPR&amp;SiteId=JSC&amp;TransactionId=noreg">http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;PartDetailId=jdk-1.5.0_09-oth-JPR&amp;SiteId=JSC&amp;TransactionId=noreg</a><img src ="http://www.blogjava.net/cisco/aggbug/85731.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/cisco/" target="_blank">Scott@JAVA</a> 2006-12-06 18:21 <a href="http://www.blogjava.net/cisco/archive/2006/12/06/85731.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Callisto Rolls Out!</title><link>http://www.blogjava.net/cisco/archive/2006/07/01/56062.html</link><dc:creator>Scott@JAVA</dc:creator><author>Scott@JAVA</author><pubDate>Fri, 30 Jun 2006 20:49:00 GMT</pubDate><guid>http://www.blogjava.net/cisco/archive/2006/07/01/56062.html</guid><wfw:comment>http://www.blogjava.net/cisco/comments/56062.html</wfw:comment><comments>http://www.blogjava.net/cisco/archive/2006/07/01/56062.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/cisco/comments/commentRss/56062.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/cisco/services/trackbacks/56062.html</trackback:ping><description><![CDATA[
		<img height="362" alt="eclipse_callisto.PNG" src="http://www.blogjava.net/images/blogjava_net/cisco/blog%20pics/eclipse_callisto.PNG" width="815" border="0" />
		<br />
		<br />
		<a href="http://www.eclipse.org/callisto/">http://www.eclipse.org/callisto/</a>
		<br />
		<br />Jun 30th, 2006<br />23:45 EEST<img src ="http://www.blogjava.net/cisco/aggbug/56062.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/cisco/" target="_blank">Scott@JAVA</a> 2006-07-01 04:49 <a href="http://www.blogjava.net/cisco/archive/2006/07/01/56062.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Setup MyEclipse on Linux</title><link>http://www.blogjava.net/cisco/archive/2006/06/16/53139.html</link><dc:creator>Scott@JAVA</dc:creator><author>Scott@JAVA</author><pubDate>Thu, 15 Jun 2006 20:56:00 GMT</pubDate><guid>http://www.blogjava.net/cisco/archive/2006/06/16/53139.html</guid><wfw:comment>http://www.blogjava.net/cisco/comments/53139.html</wfw:comment><comments>http://www.blogjava.net/cisco/archive/2006/06/16/53139.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/cisco/comments/commentRss/53139.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/cisco/services/trackbacks/53139.html</trackback:ping><description><![CDATA[1. First and formost, make sure you've configured JDK properly, otherwise here's a review "<a href="/cisco/archive/2006/06/15/52883.html">Setup JDK on Linux</a>" for you.<br /><br />2. Before setup MyEclipse, you must have Eclipse installed first. Feel free to skip this step if you've got it.<br />Eclipse, or Eclipse SDK, to be more specific, can be obtained from <a href="http://download.eclipse.org/eclipse/downloads/index.php">http://download.eclipse.org/eclipse/downloads/index.php</a><br />The one we're looking for is named "eclipse-SDK-3.2RC7-linux-gtk.tar.gz"<br /><img height="126" alt="eclipse_sdk_3.2rc7.png" src="http://www.blogjava.net/images/blogjava_net/cisco/blog%20pics/eclipse_sdk_3.2rc7.png" width="674" border="0" /><br />Assume you put the file in <font color="#008000">/opt</font>, uncompress it by the following command, then there comes a folder name "eclipse"<br /><div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: rgb(0,0,0)">[root@localhost opt]# tar zxvf eclipse</span><span style="COLOR: rgb(0,0,0)">-</span><span style="COLOR: rgb(0,0,0)">SDK</span><span style="COLOR: rgb(0,0,0)">-</span><span style="COLOR: rgb(0,0,0)">3</span><span style="COLOR: rgb(0,0,0)">.2RC7</span><span style="COLOR: rgb(0,0,0)">-</span><span style="COLOR: rgb(0,0,0)">linux</span><span style="COLOR: rgb(0,0,0)">-</span><span style="COLOR: rgb(0,0,0)">gtk.tar.gz </span></div>Enter the "eclipse" folder, and run a test (the very first time, eclipse will ask you to select a workspace)<br /><div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: rgb(0,0,0)">[root@localhost eclipse]# .</span><span style="COLOR: rgb(0,0,0)">/</span><span style="COLOR: rgb(0,0,0)">eclipse </span><span style="COLOR: rgb(0,0,0)">&amp;</span></div><br />3. MyEclipse is a business IDE based on Eclipse and other Open-souce tools to facilitate J2EE development. You can download it from <a href="http://www.myeclipseide.com/ContentExpress-display-ceid-10.html">http://www.myeclipseide.com/ContentExpress-display-ceid-10.html</a> with <font face="Arial">a free 30-day trial, however, accepet the license and login as a memeber is always a must to access the download.<br />After you login, check the "Development Release", which is, till I write this article, "</font><font face="Arial, Helvetica, sans-serif" size="-2"><em>MyEclipse 5.0 M1 for Eclipse 3.2".<br /><img height="120" alt="myeclipse_5.0m1_linux_download.png" src="http://www.blogjava.net/images/blogjava_net/cisco/blog%20pics/myeclipse_5.0m1_linux_download.png" width="566" border="0" /><br /></em></font>Assume you put the file in <font color="#008000">/opt</font>, excute it, then a graphical installation wizard will pop up and guide you through the rest steps.<br /><div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: rgb(0,0,0)">[root@localhost opt]# ./MyEclipseEnterpriseWorkbenchInstaller_5_0M1_E3_2.bin</span><span style="COLOR: rgb(0,0,0)"></span></div><br />4. If you, <font color="#ff0000">unfortunately</font>, come across the problem as I do, while lauching the wizard.<br /><div style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: rgb(0,0,0)">Preparing to install<img src="http://www.blogjava.net/images/dot.gif" /><br />Extracting the installation resources from the installer archive<img src="http://www.blogjava.net/images/dot.gif" /><br />Configuring the installer </span><span style="COLOR: rgb(0,0,255)">for</span><span style="COLOR: rgb(0,0,0)"> </span><span style="COLOR: rgb(0,0,255)">this</span><span style="COLOR: rgb(0,0,0)"> system</span><span style="COLOR: rgb(0,0,0)">'</span><span style="COLOR: rgb(0,0,0)">s environment<img src="http://www.blogjava.net/images/dot.gif" /></span><span style="COLOR: rgb(0,0,0)"><br /></span><span style="COLOR: rgb(0,0,0)">awk: error </span><span style="COLOR: rgb(0,0,255)">while</span><span style="COLOR: rgb(0,0,0)"> loading shared libraries: libdl.so.</span><span style="COLOR: rgb(0,0,0)">2</span><span style="COLOR: rgb(0,0,0)">: cannot open shared object file: No such file or directory<br />dirname: error </span><span style="COLOR: rgb(0,0,255)">while</span><span style="COLOR: rgb(0,0,0)"> loading shared libraries: libc.so.</span><span style="COLOR: rgb(0,0,0)">6</span><span style="COLOR: rgb(0,0,0)">: cannot open shared object file: No such file or directory<br /></span><span style="COLOR: rgb(0,0,0)">/</span><span style="COLOR: rgb(0,0,0)">bin</span><span style="COLOR: rgb(0,0,0)">/</span><span style="COLOR: rgb(0,0,0)">ls: error </span><span style="COLOR: rgb(0,0,255)">while</span><span style="COLOR: rgb(0,0,0)"> loading shared libraries: librt.so.</span><span style="COLOR: rgb(0,0,0)">1</span><span style="COLOR: rgb(0,0,0)">: cannot open shared object file: No such file or directory<br />basename: error </span><span style="COLOR: rgb(0,0,255)">while</span><span style="COLOR: rgb(0,0,0)"> loading shared libraries: libc.so.</span><span style="COLOR: rgb(0,0,0)">6</span><span style="COLOR: rgb(0,0,0)">: cannot open shared object file: No such file or directory<br />dirname: error </span><span style="COLOR: rgb(0,0,255)">while</span><span style="COLOR: rgb(0,0,0)"> loading shared libraries: libc.so.</span><span style="COLOR: rgb(0,0,0)">6</span><span style="COLOR: rgb(0,0,0)">: cannot open shared object file: No such file or directory<br />basename: error </span><span style="COLOR: rgb(0,0,255)">while</span><span style="COLOR: rgb(0,0,0)"> loading shared libraries: libc.so.</span><span style="COLOR: rgb(0,0,0)">6</span><span style="COLOR: rgb(0,0,0)">: cannot open shared object file: No such file or directory<br />hostname: error </span><span style="COLOR: rgb(0,0,255)">while</span><span style="COLOR: rgb(0,0,0)"> loading shared libraries: libc.so.</span><span style="COLOR: rgb(0,0,0)">6</span><span style="COLOR: rgb(0,0,0)">: cannot open shared object file: No such file or directory</span></div>Oops, it means the GUI installation doesn't support your Linux distribution, so you have to go back the download page and take the manual approach alternatively.<br /><img height="122" alt="myeclipse_5.0m1_manual.png" src="http://www.blogjava.net/images/blogjava_net/cisco/blog%20pics/myeclipse_5.0m1_manual.png" width="561" border="0" /><br /><font color="#ff0000">Note:</font> The installation instruction is not included, as it "should be". However, you can get it from <a href="/Files/cisco/manual-install-instructions.zip">http://www.blogjava.net/Files/cisco/manual-install-instructions.zip</a><br /><font face="Arial, Helvetica, sans-serif" size="-2"><em></em></font><img src ="http://www.blogjava.net/cisco/aggbug/53139.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/cisco/" target="_blank">Scott@JAVA</a> 2006-06-16 04:56 <a href="http://www.blogjava.net/cisco/archive/2006/06/16/53139.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>