{"id":3185,"date":"2018-07-05T01:54:03","date_gmt":"2018-07-05T01:54:03","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=3185"},"modified":"2024-08-09T08:50:41","modified_gmt":"2024-08-09T08:50:41","slug":"how-to-launch-eclipse-from-terminal-in-linux","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/how-to-launch-eclipse-from-terminal-in-linux\/","title":{"rendered":"How to launch Eclipse from Terminal in Ubuntu Linux"},"content":{"rendered":"<h2>How to launch Eclipse from Terminal in Ubuntu Linux<\/h2>\n<p>On this page, we will learn how to launch Eclipse IDE from the <strong>Terminal<\/strong> on Ubuntu Linux machine. This tutorial assumes that Eclipse is installed on the Linux system.<\/p>\n<p>Steps to Install Eclipse IDE on Ubuntu Linux machine:<\/p>\n<p><a href=\"https:\/\/www.testingdocs.com\/install-eclipse-on-ubuntu-linux\/\">https:\/\/www.testingdocs.com\/install-eclipse-on-ubuntu-linux\/<\/a><\/p>\n<h3>Steps to Launch Eclipse<\/h3>\n<p>Launch Terminal application.<\/p>\n<p>Change working directory to the Eclipse install directory path from the Terminal.<\/p>\n<p><strong>$ cd &lt;eclipse install directory&gt;\u00a0<\/strong><\/p>\n<p>For example, if the eclipse installation directory is \/home\/testingdocs\/eclipse<\/p>\n<p><strong>$ cd \/home\/testingdocs\/eclipse<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3194\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Install-Directory-Linux-1.png\" alt=\"Eclipse Install Directory Linux\" width=\"1920\" height=\"1080\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Install-Directory-Linux-1.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Install-Directory-Linux-1-300x169.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Install-Directory-Linux-1-1024x576.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Install-Directory-Linux-1-768x432.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Install-Directory-Linux-1-1536x864.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h3><\/h3>\n<h3>Launch from Terminal<\/h3>\n<p>To run Eclipse from the Terminal, issue the following command in the terminal<\/p>\n<p><strong>$ .\/eclipse<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20588\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Launch-Command-Line.png\" alt=\"Eclipse Launch Command Line\" width=\"3072\" height=\"1728\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Launch-Command-Line.png 3072w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Launch-Command-Line-300x169.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Launch-Command-Line-1024x576.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Launch-Command-Line-768x432.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Launch-Command-Line-1536x864.png 1536w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-Launch-Command-Line-2048x1152.png 2048w\" sizes=\"auto, (max-width: 3072px) 100vw, 3072px\" \/><\/p>\n<p>This would launch the Eclipse IDE on Linux machine.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20591\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Launch-Eclipse-Ubuntu.png\" alt=\"Launch Eclipse Ubuntu\" width=\"3072\" height=\"1728\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Launch-Eclipse-Ubuntu.png 2560w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Launch-Eclipse-Ubuntu-300x169.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Launch-Eclipse-Ubuntu-1024x576.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Launch-Eclipse-Ubuntu-768x432.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Launch-Eclipse-Ubuntu-1536x864.png 1536w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Launch-Eclipse-Ubuntu-2048x1152.png 2048w\" sizes=\"auto, (max-width: 3072px) 100vw, 3072px\" \/><\/p>\n<h3>Add to PATH<\/h3>\n<p>Notice that we have to change directory into eclipse install directory. To run Eclipse from anywhere in the Terminal, add the eclipse install directory to <strong>PATH<\/strong> environment variable.<\/p>\n<p><strong>$ gedit \/etc\/profile<\/strong><\/p>\n<p>Append eclipse directory to the PATH.<\/p>\n<p><strong>PATH=$PATH:\/home\/testingdocs\/eclipse<\/strong><\/p>\n<p><strong>export PATH<\/strong><\/p>\n<p>Save the file.<\/p>\n<p>Now we can launch Eclipse IDE on Ubuntu Linux from anywhere in the Terminal windows. echo <strong>PATH<\/strong> variable to check if the eclipse directory got appended to the existing PATH.<\/p>\n<p>Command to check the <strong>PATH<\/strong> environment variable.<\/p>\n<p><strong>$ echo $PATH<\/strong><\/p>\n<p>Now, we can simply type <strong>eclipse<\/strong> in the Terminal from anywhere in the directory tree. There is no need to change working directory to the eclipse install directory.<\/p>\n<p><strong>$ eclipse<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21231\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-PATH-and-Command-Linux.png\" alt=\"Eclipse PATH and Command Linux\" width=\"3072\" height=\"1728\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-PATH-and-Command-Linux.png 2560w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-PATH-and-Command-Linux-300x169.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-PATH-and-Command-Linux-1024x576.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-PATH-and-Command-Linux-768x432.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-PATH-and-Command-Linux-1536x864.png 1536w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Eclipse-PATH-and-Command-Linux-2048x1152.png 2048w\" sizes=\"auto, (max-width: 3072px) 100vw, 3072px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>That&#8217;s it. We have learnt how to launch eclipse from the command line.<\/p>\n<p>More Information on Eclipse IDE:<\/p>\n<p><a href=\"https:\/\/www.eclipse.org\/\" rel=\"noopener\">https:\/\/www.eclipse.org\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to launch Eclipse from Terminal in Ubuntu Linux On this page, we will learn how to launch Eclipse IDE from the Terminal on Ubuntu Linux machine. This tutorial assumes that Eclipse is installed on the Linux system. Steps to Install Eclipse IDE on Ubuntu Linux machine: https:\/\/www.testingdocs.com\/install-eclipse-on-ubuntu-linux\/ Steps to Launch Eclipse Launch Terminal application. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-3185","post","type-post","status-publish","format-standard","hentry","category-linux","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/3185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=3185"}],"version-history":[{"count":18,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/3185\/revisions"}],"predecessor-version":[{"id":23812,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/3185\/revisions\/23812"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=3185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=3185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=3185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}