{"id":1926,"date":"2015-05-13T13:12:34","date_gmt":"2015-05-13T13:12:34","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=1926"},"modified":"2015-05-14T09:52:21","modified_gmt":"2015-05-14T09:52:21","slug":"installing-eclipse-on-the-raspberry-pi-2","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/compilers-and-ides\/eclipse-raspberry-pi\/installing-eclipse-on-the-raspberry-pi-2","title":{"rendered":"Installing Eclipse On Raspberry Pi 2"},"content":{"rendered":"<h4>\nCan you use Eclipse on the Raspberry Pi?<br \/>\n<\/h4>\n<p>\nOn a Raspberry Pi 1 (pre RPi2 model B)\n<\/p>\n<p style=\"margin-left: 40px;\">\nForget it! Technically eclipse&nbsp;will run, but not really! &nbsp;The RPi 1 is far too underpowered for it\n<\/p>\n<p>\nOn a Raspberry Pi 2 Model B\n<\/p>\n<p style=\"margin-left: 40px;\">\nYes we&#39;ve got eclipse to run, but not with the cdt c++ compiler installed for it. &nbsp;Lets hope this can be fixed soon as currently eclipse seems&nbsp;totally unstable for c++ development on the RPi\n<\/p>\n<p>\n<span style=\"color:#FF0000;\"><em><strong>WE CAN&#39;T CURRENTLY (MAY&nbsp;2015) GET ECLIPSE FOR C++ DEVELOPMENT&nbsp;TO RUN ON THE RPi2 &#8211; PLEASE LET US KNOW IN THE COMMENTS IF YOU FIND A WAY!<\/strong><\/em><\/span>\n<\/p>\n<h4>\nInstalling Eclipse Attempt 1<br \/>\n<\/h4>\n<p>\nEnter this at the command line (N.B. this install&nbsp;takes a looooong time!)\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get install eclipse\r\n<\/code>\r\n<\/pre>\n<p>\nUse startx to load the GUI and you&#39;ll then find eclipse in the &#39;Programming&#39; group.\n<\/p>\n<p>\nNow install the&nbsp;C++ tools\n<\/p>\n<p style=\"margin-left: 40px;\">\nMenu &gt; Help &gt; Install New Software\n<\/p>\n<p style=\"margin-left: 40px;\">\nWork with: http:\/\/download.eclipse.org\/releases\/indigo\/ &nbsp; (Will likely be an option already in the dropdown called &#39;Indigo Update Site&#39;)\n<\/p>\n<p style=\"margin-left: 40px;\">\nHit return and then once it retrieves everything (can take ages with just &#39;Pending&#8230;&#39; showing) select &#39;Programming Languages&#39; (can also take a while to download and open)\n<\/p>\n<p style=\"margin-left: 40px;\">\nSelect &#39;C\/C++ Development Tools&#39; &gt; Next &gt; IT CRASHES\n<\/p>\n<p style=\"margin-left: 40px;\">\nUsing this URL instead causes &nbsp;acrash before you even get shown the options:&nbsp;http:\/\/download.eclipse.org\/tools\/cdt\/releases\/indigo\n<\/p>\n<h4>\nInstalling Eclipse Attempt 2<br \/>\n<\/h4>\n<p>\nEnter this at the command line (N.B. this install&nbsp;takes a&nbsp;looooong&nbsp;time!)\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get install eclipse\r\nsudo apt-get install eclipse-cdt g++\r\n<\/code><\/pre>\n<p>\nThe -cdt line installs the c++ option&nbsp;into&nbsp;eclipse.&nbsp;\n<\/p>\n<p>\nUse&nbsp;startx&nbsp;to load the GUI and you&#39;ll then&nbsp;find eclipse in the &#39;Programming&#39; group.\n<\/p>\n<p>\nNow run Eclipse &gt; IT CRASHES BEFORE IT FINISHES&nbsp;LOADING\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Can you use Eclipse on the Raspberry Pi? On a Raspberry Pi 1 (pre RPi2 model B) Forget it! Technically eclipse&nbsp;will run, but not really! &nbsp;The RPi 1 is far too underpowered for it On a Raspberry Pi 2 Model B Yes we&#39;ve got eclipse to run, but not with the cdt c++ compiler installed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80],"tags":[],"class_list":["post-1926","post","type-post","status-publish","format-standard","hentry","category-eclipse-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=1926"}],"version-history":[{"count":9,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1926\/revisions"}],"predecessor-version":[{"id":1935,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1926\/revisions\/1935"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=1926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=1926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=1926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}