{"id":2012,"date":"2017-02-12T23:34:06","date_gmt":"2017-02-12T23:34:06","guid":{"rendered":"http:\/\/blog.paranoidprofessor.com\/?p=2012"},"modified":"2017-02-12T23:34:06","modified_gmt":"2017-02-12T23:34:06","slug":"installing-eclipse-on-linux","status":"publish","type":"post","link":"https:\/\/blog.paranoidprofessor.com\/index.php\/2017\/02\/12\/installing-eclipse-on-linux\/","title":{"rendered":"Installing Eclipse on Linux"},"content":{"rendered":"<p>Eclipse is an amazing example of an open source project that easily dwarfs\u00a0its commercial competition. \u00a0Does an IDE make you a weaker programmer? \u00a0I don&#8217;t think so. \u00a0If it makes you more productive, help you with syntax, or speeds up repetitive tasks then it is simply one more tool in your toolbox.\u00a0Depending on what you are developing it may your go to tasks for debugging or refactoring code.<\/p>\n<p>I wanted to do some restful web services and a number of the examples are described using eclipse. \u00a0In order to get a good starting point, I needed to install a copy Eclipse.<\/p>\n<p>Depending on your level of familiarity with the Linux command prompt, the process of setting up Eclipse on your system is fairly trivial.<\/p>\n<ul>\n<li><a href=\"https:\/\/www.eclipse.org\/downloads\/download.php?file=\/technology\/epp\/downloads\/release\/neon\/2\/eclipse-jee-neon-2-linux-gtk.tar.gz\">download eclipse IDE<\/a><\/li>\n<li>unpack file<\/li>\n<li>move to final location<\/li>\n<li>setup environment<\/li>\n<\/ul>\n<h2>Unpack file<\/h2>\n<p>I\u00a0wasn&#8217;t setting up eclipse for all users on a system but rather just one user for this virtual machine.\u00a0 So I copied it to ~myuser\/tmpdir and used both gunzip and tar to decompress and extract the files from the tar.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ncd ~myuser\/Downloads\r\n\r\nmkdir ~myuser\/tmpdir\r\n\r\nmv ~myuser\/Downloads\/eclipse-jee-neon-2-linux-gtk.tar.gz .\r\n\r\ngunzip eclipse-jee-neon-2-linux-gtk.tar.gz\r\n\r\ntar -xvf eclipse-jee-neon-2-linux-gtk.tar\r\n<\/pre>\n<h2>Move to final location<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmv ~myuser\/eclipse \/opt\/eclipse\r\n<\/pre>\n<p>It doesn&#8217;t really matter where you put eclipse.<\/p>\n<h2>Setup environment<\/h2>\n<p>The last step is to make the executable available. \u00a0If it isn&#8217;t in one of the directories that is part of you path simply add it to your path. \u00a0This could be done in a couple of different ways.<\/p>\n<p>One way would be to add eclipse to your path.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nexport PATH=$PATH:~myuser\/eclipse\r\n<\/pre>\n<p>Another way would be to create a symbolic link from the eclipse directory to the \/usr\/bin directory to eclipse.<\/p>\n<p>It might not be so important when a\u00a0computer is only used by one person but by placing the link in the \/usr\/bin directory then eclipse is available for all users.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eclipse is an amazing example of an open source project that easily dwarfs\u00a0its commercial competition. \u00a0Does an IDE make you a weaker programmer? \u00a0I don&#8217;t think so. \u00a0If it makes you more productive, help you with syntax, or speeds up &hellip; <a href=\"https:\/\/blog.paranoidprofessor.com\/index.php\/2017\/02\/12\/installing-eclipse-on-linux\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20,3],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/2012"}],"collection":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/comments?post=2012"}],"version-history":[{"count":6,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/2012\/revisions"}],"predecessor-version":[{"id":2079,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/2012\/revisions\/2079"}],"wp:attachment":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/media?parent=2012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/categories?post=2012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/tags?post=2012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}