Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1400316
  • 博文数量: 828
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5030
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-29 13:29
文章分类

全部博文(828)

文章存档

2011年(1)

2008年(827)

我的朋友

分类: LINUX

2008-08-29 13:41:09

 
1.FirstdownloadJDK6,copyitto/usr/share/JDK6,andinstallit.
NOTE:ThefirsttimeItriedtoinstallJDK6.however,inFedora7,IfailedtoconfiguretheJAVA_HOME,CLASSPATHandPATHin/etc/profile.d,andthismademysystemrefusetoboot.SoIreinstalledFedora7.ThenexttimeItriedtoinstalltheJDK,IwasafraidthattheconfigurationofJDKwoulddestroymySystemonceagain,soIused“yum-yinstalljava”anditinstalledtheJDK5butNOTJDK6.It''sdefaultpathis/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0.

2.InstalltheEclipse.
Itisnotactuallyto"install"theEclipse,becauseto"install"Eclipsewejustsimpleuncompressthefileintoafolderanditwillwork.However,inFedora7,Idon''tknowwhy,it(Eclipse3.3)refusedtowork.IsearchmanyarticlesviaGoogleandBaiduandcouldn''tsolvetheproblem(Evennow,Idon''tknowhowtosolveityet.).SoIfinallyforcedtouse"Install/RemovePrograms"toinstallFedoraEclipse3.2.Thedefaultinstallingpathis/usr/share/eclipse.


3.InstallTomcat
WeinstalledtheTomcatalsousing"Install/RemovePrograms".However,whenItriedtouseittoday,IforgotthatIhadinstalledit[:)],soIwenttohomepageofTomcatanddownloadbothTomcat5.5andTomcat6.ButlaterIfoundthatEclipse3.2didn''tsupportTomcat6,soIinstalledTomcat5.5.ThemethodtoinstallTomcat5.5isalsoverysimple.Ijustdownloaditanduncompressitinto/opt/tomcat/.

4.integrateEclipse,JavaandTomcat.
4.1Java6inEclipse
Eclipse:Window-->Preferences-->Java-->installedJREs.TheJDK5isdefaultshowedonit.Using"Add",IaddedtheJDK6andpressed"OK"tofinishtheconfigurationofJDK6inEclipse.
NOTE:Tomcatdidn''tworkwhenIuseJDK5.WhenIhadatrytouseJDK6,andwasverygladtofindthatitworks.Sothisisveryimportant.
4.2Tomcat5.5inEclipse
Eclipse:Window-->Preferences-->Server-->InstalledRuntimes.Click"Add"ontheboardtoaddtheTomcat5.5.Noticetoselect"JDK6"youhaveinstalledasitsJRE.
4.3Tomcatplugin
TheconfigurationofTomcatpluginisthesameasthatinWindows.DownloadTomcatPluginV31anduncompressitinto$ECLIPSE_HOME/plugins.RestartEclipseandthreelogosofTomcatwillshow.ThengotoWindow-->Preferences-->Server-->Tomcatandconfigureit.AlsonoticetoselectJDK6oritwilltakenoactionwhenyoutrytostartit.

Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)Fedora7系统下的JDK6(英文版本)
阅读(297) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~