在ubuntulinux下安裝eclipse以及運(yùn)行c程序的安裝步驟(精)_第1頁
在ubuntulinux下安裝eclipse以及運(yùn)行c程序的安裝步驟(精)_第2頁
在ubuntulinux下安裝eclipse以及運(yùn)行c程序的安裝步驟(精)_第3頁
在ubuntulinux下安裝eclipse以及運(yùn)行c程序的安裝步驟(精)_第4頁
在ubuntulinux下安裝eclipse以及運(yùn)行c程序的安裝步驟(精)_第5頁
已閱讀5頁,還剩9頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、1. 下載 jre, eclipse, cdt其中jre是java運(yùn)行環(huán)境,eclipse需要先裝jre,才可能運(yùn)行,cdt是在eclipse中運(yùn)行cc+ 程序的插件。1.1下載jre網(wǎng)址是:,點(diǎn)擊java se,紅色劃線部分(如下圖)文tt(F) ifitS(E)查看(y)歷史國)書簽【因工具(I)帶助(旦)命 IB I http;曲刖孔sun.em/闔訪間撮寥 7 Ging Started | Latest Headlines« Download Java SE Develop. X B DeveJoper Resources forja. X fi commor PrQblsm

2、mDeveloper Spot tight* Oet Java Fqt Vqi>DaaklopHrw Java Tbchnategy and MlySOL WEblnar Series and Hesdurpes He Join us each month Ibr webinara on Java and MySQL, focusing on periamance. scalability, developnunl Dps arm mcKs and more. You will al so 力nd a col l»GtiQn oT resources locusjng an J

3、ava tctinalogy and MySQL.Wq nt tQ Learn Java Ttchnobgy?Urtdersbtndlng thn Java Porllei W阿 Ificatlon 2j0 (JSR 28CIn Itiis mrB«' part series. Itie articlss de5cnt« n«w tatures available in me Java Portlel spctucanciri 2.0 J eh 2日即 and ©艱“曲“百 Eupportd by qpenPartai Pciftifii Con

4、taiMrg-x,"Newio j3vaProgirammiRg Centerw Yf>ung DBW即a呼恰"ERuMhusJivfl Plitforrn, En1«rprli« EdItbmiS ind Sun GtassFbsh Enf1«rprk>« S«rv»r v3 HflI&aBedTh« avaEE'Si pijirorm i$ now available wiih$igniiicani inousiry support horn Java d tectinol

5、ogy licensees. AIm available is tie Java EE 6 SDK. which incl tides SunGlassFisn Entsrpnsa Srv&rvS. Dip hndustiylirst application server to support the Itill Jaa EE & planbnn and Jaa EE & Web Pronie.* _I>niwrilnsn nvmPapuhr Downkuflsin UavaTF SDK* Java ME» NfllBaans I鬧Wee詆限期嚀加AJh

6、ttp:7/develo pers sun.co m/porta I serveiAeference/techarvj sr2e6/Jsr23&. hcml然后,選擇downioad jre丈件(曰編輯世)查看世)歷更(勻書SB)工具(口幫肋011圜訪問晶" facetting Started Latest Headlines*叵I D口wnload java SE Develop. X ffl Java SE Downloads - Sun D. M Comm口n ProblemsL/OHaioaauowrtfJava Platlorm (JDK)JDK + JdvaFX

7、Bundle JDK + N«tB«anG11 -K ,I"EBundleJDK + Java EE BLirdaLT1 Ir Enterprise features JRE or JDK e. 5.Q, or14,2Hera are lhe Java SE downloads in delaiL3'-mDownloHl JDK.JDK Update IB (JDK or JRE)Thia rsleaso includae pefToimance impravementa and eupport Tor newer rmlsasGS 01 cperalin

8、g sy?l«ns: Ubunftu, SuSe LI mm, ana Red Hat LlnuK. (llamum Goise«in. L3n mtweJava Expert?P Lit you rdvd ski llstc u| and mat& money todaDoes ¥L«arn Mort LIVE PEftSOZWbal Java Doi|IN««d? Vou mjsl have a copy qI lhe JRE Java Runtime Erivlrormeritj on your sysdom to ru

9、n Java app Hcabons and apfials. To Av* lop Java applicatlcins and applets, you netd V& JDK (Java D&t/Qlapm&nt Kiq. wnich inciixtei me J RE.NOTE- The FireFoK 3.6 briHKer requires Java £E C Updade 10 or laier Otherwise, Java-based web appfiEaEiSiiS ©Hl nol wwk.OQwrflovd JREDocsR&

10、#171;gh>nil Domilaidsan KeFeedback':G FF WK rurtt Elfi£li?nf *X然后,如下圖,紅色劃線部分所示文14(E)嵋輯吃)查S(y)書簽但)工具CD5 Aoegie蘭訪問;黴多*Getting Started ILatest HeadlinesH Download Java SE Develop.- M 豐 Java SE Runtime Environm., M , Comm or PnobJemsP islFonn:Linujt"Nev. ID Java CenterLarkguag. Mu Ill-l

11、anguage"NewM Salatin Cental1* Sun Studio&屮&0 to iTia ava SE Runlima Environment 6uie wiin JavaFX 1 License Agre&mant.Dowmoad RaHureecOptjdnak IPIwase Log In or Regialer k>rfiddiljDnal ftjr»ct»narity aixl Oenefils. Or. dick*Con(tinue* now to procewl wllhDut L凹 ki ar Ft羽i

12、曲aUon-user Name: i1Example :j|in23 Or jlnHmpjin)/ comPassword; II* Regisler Now* Why nagister?» Forgal Ua&r Name or Password ?"FAQsX Download HiEtory* Sun DowniMd wiiager» Down load CenterCuslomarSarvicaConlinue »hren Guirtn Cl3C*:Fi*:hBa$ic in 占 Budlpn 占 fer quid, getting up

13、 and running with GlaFish v3 TecTiia logfy PrleMT 2 Appllcafipn Sen/sr Sjpflwg停J耐ci點(diǎn)擊"jre-6u18-linux-i586.bin ”丈件fE)塀輯怔)查看?。v史勺 書籠(創(chuàng) 工具(D* 1壬侖 I Si I http5jKxJh5urLgnviE-birvihrTER5H0RenfimtyjWF£EF51堂訪問竜冬 w Getting Started Latest Headlines'* Download Java SE Develop. M 豐 Download Java

14、SE Runtime M 童 Common P noblemintmessa.ge in ma iniurmaaon Dar.rn app ears. cticK ii o inisn aefficong your java vareiourWe were unable to <Je1ect a recentveislon ol Java Funllme Erivirpnmenl fJRE) cm ytiur 科stem. Wi the latest JRE. you can automatical艸 dawnload. install, and run Sun Download Man

15、ager (SDM| diractly Irom mis page. Wa riihly racominend SDM to easily manag& your down loadi (pau se. rtufiM. replan, verily, and rT»r&). Visit ja'. n .:?r i for Hie latest JR E.setting Slartod?* New 10 Java Center* New 10 &Qlan& Center"Suh SIM ioThere li morv Informati

16、on on the vatlable Tile* tor downloid on the Supporied Sv9l»rn Conlfguratloiu page.Download Ra»giircesAvailable FilesFit DwrlpIteflMd Nlim*Sl»Java SE RunllmeErwlfornient Buia ± I r&-6u 1 B-ii nux- i5fle-rpm±inJava SE Runtime Envlnorment SulS 士 I 吋&LJimiirnj*i&a6.

17、tin19.56 MB£0.06 MS” FAC* Download History* Sun DoMnload Manager"Cflwnlpsd Centef Cuslomer ServiceTHS Solaris OS is supported pn over Q ttioUHnri 耐 gnd SPARC platform xQWQn H _ I.籌待 .就可以得到j(luò)re-6u18-i586.bin文件1.2 下載 eclipse網(wǎng)址是:,選擇downloads,如下圖紅色部分所示選擇"eclipse ide for java

18、 ee developers(188MB) ”-Eclip與e Downloads - Mozilla FirefoK_ 口 x文件舊:15輯【旦 查看同 歷史 書s(B)工具tn幫閒凹V摘丨 9http:/www. kI i pse .org/dow nloa /=a)臨訪問最多* GettingStarted 詡Latest Headlines9 Eclipse DowrloadsT17AHomeqw nlomcJs User Members CammitltersPmjettiAbout- .1,十 - :Eclipse Downloadstrxj will need ojavi1Ecl

19、ipse Java. SjRE epfzyided Lvier tfietiFvundotlqn (twitclipx:ProjectiDev日opm己nl BuildsspecifiedCiLMSf Pijkaccs K based cn IkbfNC A.5 SKJ ! = Lorn pare FockAgesLooking for OldEcliiD;se IDE lor lava EE Dev«1>DD0rs 41S8 MB)WindtnvS 3JbitTookdEvelop&strMng la舊 EE jndjpplie貳ions, including a j

20、avaM'ac Carbon 32bit1IDE, tools for Java EE. JPAr J5F, Mylyn and others. More.Mac Ckm 32 bitDownloads: 1,呂a片fl4ZMbitOiviLinux 31bit £4bitUtiT IprEclipse IDE for java Developers (92 MBWindows 32bicThe essential tools for any Java developer. indueJing a Java IDE. a CVS clients XMLMac Carbon 3

21、3bitAJA;Editor 占nd Mylyn. Mor«Mjc Cocoa 32 bit1Downluds; 325,42264bit 1 JCoil;1 V> 1X點(diǎn)擊“ China: Amazon AWS (http)”丈件(E)難(£) S看俚)歷更國書簽工具稱助止)I'L為訪問最多 7 * Getti ngi Started 圈 iLstest Headl i nes *O Eclipse downloads - mirror selee C 打 P S e CON 2010Pr°g畑m Available!March 22"*

22、 - 25* Santa Clara, CARegister Now!Vi3f1 othef Ed<3a SiLesHome Downloads Liters Members Com mi tiers Resources P rojectsAbout u石Downloads HomflEclipse downloads - mirror selectionBit Torrents By preject By topic Source codflMore PackagesAllare provided under the terina and corditions of the Eclip

23、seFoundation Software User Agreement unless otherwise 5pecified.Download &clipse-p«alilechSRl-linu)t-gtk.tar.gz from:FralurcdGive Back to PrlincChina) Am«ion AWS (http)O BitTorrent is available for th it file.or pick a mirror site below.Fillfr HTT P完威就可以得到 eclipse-jee-galileo-SR1-linux

24、-gtk.tar.gz 壓縮包。1.3下載cdt點(diǎn)擊"Downloads ”網(wǎng)址:/cdt/ ,Mozilla Firefox畬 B http:伽ww一eJipst.Q嘶dV閱訥問最蟄 V Getting started Latest Headlines9 Eclipse cyc+ Development T&. £«長(zhǎng) lipseCONTACT LEGAL JHOME DOWNLOADS USERSMEMBERS COMHITTETIS RESOURCES PROJECTS ABDITT USCDT HomeAbout Th

25、is ProjectWikiCDT hlQWMgraupReport 3 BugUser FAOEclipse C/C+ Development Tooling - CDT豪A +-k. H C.CcbR 廣 fST 口 .AH*.http:/Mww. ecli pseorg/cdVdownloads-ph p選擇如下紅色劃線部分丈件舊瞬tE) My)歷史書簽tfi】工具m 甯目訪問確 7 Getti ng Sta rted 勺 Latest Headlines * CDT Downloads Ragewn I carl-5 U¥WikiCDT H乜wsgraupOne thing

26、to no* about ttic COT is that, up to this point, w電 are very ti«d Co specific versions of the Eclipse Platform rei'e&e. So please be careful how you ant matching these versions.Report a BugAs a minimum, you necd to install ttie Eclipse Platform Runtime before installing the CDTUser FAQC

27、DT 6.0.xCOT e.Q runs with Eclipse 3-5 mnd is part of the Eclipse Galileo simultaneauG release- The main CDT feature can be instated from the Galileo Update Site. This feature ss well as all other CDT 6.0 femtures can al$a be irttailed from the CDT Galileo Update site with the following URL.htttpJFdo

28、 w nIdatL ee H ps e*drg/tGol s/c dty rle as es/ga I i leoA single zip file cantainirg all of the CDT features for off-line installation is zl&n VAilabls try clicking th& link sbcue.Bugs fixed in:e.o完威點(diǎn)擊“ 6.0.1 (September 25, 2009)”交件(B 晞查看朝歷史書壷回工具幫助(旦】命 I 事 h 社 p:ndQw nloa d.弐1 i pse-Org/toc

29、il 5膽胸怕I mam色s/g白帕 eo|擁 c t =固請(qǐng)問最笏V Gettingstarted LatestHeadlines BCDT aaheo Releases update siceCDT Galileo Releases Update SiteThis update sitjs contains the fol lowing CDT releases for Galileo based Eclipse. The Eclipse Platfortn Runtirue Binary version 3.5 Is the mnimum required runti(B to run

30、CDT 6.0. x.Enter the URL for this site in the update renager to download the CEXT features* http: /Alawin Wad ec 】ips 巳 rg/too 1 s/czdt 丿 re I easea /呂已 I i I eoItie CDT Kester update archive is available for each release as well. Download the zip file and enter the p尹h to it in the,Software Update

31、as 申 Achived update site to install CDL Please note that Lnzipping the raster zip file into the eclipse directory hi 11 not install CDT property.* 反UQ (Jung 24, 2QQ9)* 1 (SgptEmbEr 25" 2009)f you re curious, the site,帥1 file is here.點(diǎn)擊“ China Amazon AWS (http ”丈件舊 彌回 s(y)歷史 書簽(旦)工具 剌助凹9 httpM/w

32、wweuli pse org/dcwnl oads/dow nloa d, ptip?fi俺=| |'卜 iZ勺誼問最備 7 Getting Started Latest Headlines vB Edipe downloads - mirror de. vHome Downloadsown load $ Home Bit TorrentsBV projectBy Epic Sburcti cod«Mqf* Paclug«sGive Back to EclipseRegister Now!mpUsere Members Committee Resources Pro

33、jects About UsEclipse downloads - mirror selectionAll downhiads are provided under the terms and conditions of the Eclipse Foundation Softwara Us&r Agraflmant uniless otherwise specified.Down I Odd cdl-master-fi.O.l.Eip from:.or pick a mirror site beloM*.chinaAW5 IhttplFriends of Eclipse MirrorC

34、" -tot:FcatunFilter HTTP FTP n Ih疣成就可以得到cdt-master-6.0.1.zip壓縮包。2.安裝(1)先安裝eclipse,打開"終端”,如下圖所示位S應(yīng)用理序fl圉形虐 Ubuntu 中 Internet3樸址成4<|翳;,回 1月2Eag期四蘋午8;09 0 W系統(tǒng)豐蛍進(jìn)入要“安裝軟件”的目錄,我是這樣的,如下文件舊堀副E) 5看如繆端幫馭赳】desktop:'$ 8 下載/-desktop:'/下軼t Is cdt-naster-E.e.1.zip- EeclipeJee-galileo-SRl-Linux

35、-gtk.tar.gz ww'-desktop: /下載 i11 I ,ia ww-de5lctx>p; TT戦然后,解壓 eclipse-jee-galileo-SR1-linux-gtk.tar.gz 壓縮包命令是: sudo tarxvf ecli pse-jee-galileo-SR1-li nu x-gtk.tar.gz得到:eclipse文件夾> W新賽Q s: Ll WML"(2)安裝jre在終端,輸入:sh jre-6u18-i586.bin,直按空格,然后輸入y '按回車,則開始安裝jre。 安裝好以后,會(huì)產(chǎn)生一個(gè)jre160_18文件夾

36、,然后將該文件夾拷貝到eclipse文件夾下。通過在終端輸入:sudo cp - jre1.6.0_18 ecli pse/jre到現(xiàn)在為止,可以運(yùn)行eclipse軟件,方法是打開eclipse文件夾,直接雙擊eclipse圖標(biāo)即可。(3)安裝cdt在終端輸入:unzipcdt-master-6.0.1.zip-d cdt,可以把 cdt-master-6.0.1.zip 解壓并且它的內(nèi)容存放在cdt文件夾下。再輸入:sudo cp -cdt/plugi ns/ ecl ip se/,則將 cdt 下 p lugi ns 的內(nèi)容拷貝到 ecli pse 下plugins文件夾。最后,輸入 su

37、do cp - cdt/features/ eclipse/,則將 cdt 下 features 的內(nèi)容拷貝到 eclipse 下features文件夾。到現(xiàn)在,安裝已經(jīng)完成。3. 運(yùn)行C+程序在運(yùn)行C+程序之前,需要在終端輸入:sudo ap t-get in stall build-esse ntial ,這條命令的含 義是安裝C+編譯器,調(diào)試軟件等。打開eclipse,建立工程,如下圖所示Java E£EclipseFileNewShift+A(t+N >I II'-: - JIjrl IJRA ProjectEnterprise Application Proj

38、ect Dynamk Web ProjectProjectConnector Project Application a lent Project Static Web Project&convert Line Delimiters lu1111JServletsession Bean EJB 3.x)Message-Driven Bean (EjB 3.x) EntityWeb ServiceFolderFile4iDSswitch workspaceRestartEKamplE.import. ExpertOther.arl+NPrncArTizAir+Fnr.pr百度接盍 uniip ling選擇“ C+ project ”,點(diǎn)擊“ next”New PEjectSelect a wizardCreate a new C+ project翌i疋anb:|typ gfilt 已tuKtJava Project曙 Java Pnoject from Existing Ant Buifdfile 磁 Plug in Project& G

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論