在ubuntu_linux下安装eclipse以及运行c++程序的安装步骤

上传人:小** 文档编号:46438799 上传时间:2021-12-13 格式:DOC 页数:15 大小:1.42MB
返回 下载 相关 举报
在ubuntu_linux下安装eclipse以及运行c++程序的安装步骤_第1页
第1页 / 共15页
在ubuntu_linux下安装eclipse以及运行c++程序的安装步骤_第2页
第2页 / 共15页
在ubuntu_linux下安装eclipse以及运行c++程序的安装步骤_第3页
第3页 / 共15页
点击查看更多>>
资源描述
1. 下载 jre , eclipse, cdtI為IJava Expert?Put your 1ama skills to u and make mooey toda8;Learn More LIVEPERSONFeecfcacKFuek Effklenfi phLIFbT.-,1.1下载jre网址是:,点击java se,红色划线部分(如下图)然后,选择download jre丈件旧查百圍历史书签圖工具帮助迫)苗访问最多* Getti ng Sta rted 应 Latent H eadl ines -JDK 6 Update 18 (JDK or JRE)This rlase includes pefTormance improvements and support Tor newer releases ol these operaijng 占丫创的1 歐 Ubuntu, SliSs Linux, and Red Hat Ljiiniik- (ll-anium 6u18 coming 甘曲口 * L含呦 moreWlwl Java Do I Nwd? Yom must have a rapy ol the JRE (Java Runtiiwe Envlronmentl on your system tn run Java appl lcaboms and applets. Tb devap Java applicaHons and applets, you need Hie JDK (Java Development KJt). which inciudtes the jre.NOTE The Firetox 3.6 browser requires Java E Updale 10 or laler Olherwtse, Java-based wdb applcafbns 世1| ncl work.Regkonal Downloadstl本哺JDK + Java EE Burbdia* Enterprise featunes JRE or JDK SA or14.2 Common ProbilemsHere are lhe Java SE downloads in delail.命 http:/Java. jsp二v |Goog .Java Platlarm (JDK)JOK + JairaFX Bundle JDK + NtBeariifiBundle|c Downlead Java SE Develop.X R java SE Downloads - Sun D. .文件世)塢辑匡)查看世历史国】书S(B)工具任)带助。旦)http ;/java .sun, cqhi/仿氏帚启” G?tti-;g Started La-est Headlire Download java 5E Develop. X H Developer Resources forja. X f comm an Problemshttpj/develcpere .sun. co m/porta I se rver/reference/techarvi SF2flfi/jsr286. htmlDeveloper SpotlightWarrt to Learn Java Technology?Java Plattwm. Enterpruio Edition 6 artd &un GtessFteh Enlfrprltse Server v3 ReteasodTTi-eEE 8 pia阳rm is ww 訓訓1沾1 定 with significani irbdusiry support From Ja归technology licensees. Also available is-ttie Java EE 6 SDK. which inclijd-ea Sun GlassFIsti Enterpn&e Server v3. thti Industryfirst application server Do suppon the full 白匕岂 EE B platform and Jaa EE fi Web Prollle.w DrwnlGRrlnw片 Get Ja va Fpr Ygyr DesktopUrKterslandlng the Javs Portlet Speclflcatkm 2.0 (JSR 296)in tnis tfirs6 part srias. the articles degen b new iBalures available in ma Java Portlet SpctncaUon 2.D (JSH 2&6 andsupported by OpnPortal PortetContairber 2.x.w N-e* fo JavaProgramming Center Yauiig Dbv甘lopaFSi耳 Educakirsblew Jsavu T&chnakigy and MySOL Webinar Series and RBsaurcea SK耳 Join us each month for webinars on Java and My SQL. focusing on performance, scalablllly. dveliDpinwnl ups and tnclcs and more. du will al&o lind a collection of resources kuusing on Java EetfinDlog and MySQL.Pcipjlar D耐nlooes: n JavSEh 瑪HFsdk Java M E NeBeaiis ISEi吋OL詔:如b曲侧呼 5*b AllDownload JDK其中jre是java运行环境,eclipse需要先装jre,才可能运行,cdt是在eclipse中运行cc+ 程序的插件。然后,如下图,红色划线部分所示点击jre-6u18-linux-i586.bin就可以得到jre-6u18-i586.bin文件1.2 下载 eclipse网址是:www.eclipse.org,选择downloads,如下图红色部分所示选择eclipse ide for java eedevelopers(188MB)点击China Amazon AWS (http)就可以得到 eclipse-jee-galileo-SR1-linux-gtk.tar.gz 压缩包。1.3下载cdt网址:www.eclipse.org/cdt/ , 点击Downloads选择如下红色划线部分点击“ 6.0.1 (September25, 2009)文件(El蝙耘查看呵历史澀回工具帮助(旦】v口 http:#dcnwnlQmid.edips亡_o呵toijl时t成/rglleas巳s/gali丨ec/71 |f 功问最多 vGening started Latest HeadlineCDT Galileo Releases update site i,-1CDT Galileo Releases Update SiteThis update site contains the fol lowing CD? releases for Galieo based Eclipse. The Ecilpse Platform Runti假 Binary version 3.5 is rhe minimum required runtinie to run CDT 6.0. x.Enter the URL for this site in the update tenager to download the CIXE features* http: /down I oad. eclipse, org/too 1 s/udt 丿 re I eases 1 i I eoThe CDT nester update archive i,s available for each release as 唱1】.Dowiload the zip ti le and enter the p前h to it in the, Soft iware Update as an Achived update site to ins tai I CDL Please note that unzipping the master zip File into the eclipse directory will not install CDT properly.反 U,Q(Jun亡 24,対Q9)* 6JSetenbe009f you re curious, the site,血:i】e jg here.点击China Amazon AWS (http)Eclipse downloads * mirror selection - Mozilla Firefox丈件(E) ms(E)a(v)历史伍)书矍迫工具m 峯助侶 Getti ng StartedLatest Headli nes*3 Edipe donload - rninrcr ele. 辛Mrch 22nd -工5* Santa (larar CARegister Now!Home Downloads Users Members Committers Resources Projects About UsDownlds HomeBrt TorrentsBy projectBy topic* Source cod-eMars PackagesEclipse downloads - mirror selectionAll downloads are provided under the terms and conditions of the Eclip&e Foundation Software Us&r Agreement unless otherwise specified.Downloid cdt-master-6.0.1 .zip from:GhinaMmazoAWMhttEl.or pick s mirror site below.FeatonFilterGive Back to EclipseFriends of Eclipse Mirror HTTP FTP n就可以得到cdt-master-6O1.zip压缩包。2.安装(1)先安装eclipse,打开终端”,如下图所示进入要“安装软件”的目录,我是这样的,如下然后,解压 eclipse-jee-galileo-SR1-linux-gtk.tar.gz 压缩包命令是: sudo tar zxvf eclipse-jee-galileo-SR1-linux-gtk.tar.gz 得到:eclipse文件夹(2)安装jre在终端,输入:sh jre-6u18-i586.bin,直按空格,然后输入 y 按回车,则开始安装jre。 安装好以后,会产生一个jre1.6.0_18文件夹,然后将该文件夹拷贝到eclipse文件夹下。通过在终端输入:sudo cp -r jre1.6.0_18 eclipse/jre到现在为止,可以运行eclipse软件,方法是打开eclipse文件夹,直接双击eclipse图标即可。(3)安装cdt在终端输入:unzip cdt-master-6O1.zip-d cdt,可以把 cdt-master-6O1.zip 解压并且它的内容存放在cdt文件夹下。再输入:sudo cp -r cdt/plugins/eclipse/,则将 cdt 下 plugins 的内容拷贝到 eclipse 下plugins文件夹。最后,输入 sudo cp -r cdt/features/ eclipse/,则将 cdt 下 features 的内容拷贝到 eclipse 下features文件夹。到现在,安装已经完成。3.运行C+程序在运行C+程序之前,需要在终端输入:sudo 即t-get in stall build-esse ntial,这条命令的含 义是安装C+编译器,调试软件等。打开eclipse,建立工程,如下图所示选择c+ project ”,点击next”C+ ProjectxC+ ProjectCreate C+ project of selected typer.Project name:Q Use default locationLocation: /home/w/workspacel/helloWorldBrowse.Choose file system:defaultProject type:loolchai ns: Cross-Compile Project TestProjectWithExtra Pages TestWidgetsLabelHello World C+ Project & Shared LibraryLinux GCCQ Show project types and toolchains only if they are supported on the platformv BackNext CancelC/C+ - helloWorld/src/hello!/Vorld.cpp Eclipse-xEile Edit Source Refactor Navigate SearchProjectBun Window HelpOpgn Project Close Projectrjv 曰詡63-v G-冬 自色朴iri匮viv Binaries Includesp 3sc77HUTnui/ Version | / Copyright / DescriptionBuild AllBuild Configurationsguild ProjectBuild Working SetClean.Q Build AutomaticallyCtrl+Binclude e Debug(L Problems laskMake TargetConvert to a Dynami: Web project.言 C/C+Properties helloWorld C/C+ Applicc!Hello World!WritableSmart Insert 4到现在为止,一个 helloWorld.cpp程序已经跑起来了。
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 解决方案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!