{"id":266,"date":"2018-11-30T19:17:31","date_gmt":"2018-11-30T19:17:31","guid":{"rendered":"http:\/\/jlavelle.uk\/pfw\/?page_id=266"},"modified":"2018-11-30T19:17:31","modified_gmt":"2018-11-30T19:17:31","slug":"installing-netbeans-9-0-on-linux-mint-ubuntu","status":"publish","type":"page","link":"https:\/\/jlavelle.uk\/pfw\/netbeans-ide\/installing-netbeans-9-0-on-linux-mint-ubuntu\/","title":{"rendered":"Installing NetBeans 9.0 on Linux Mint &#038; Ubuntu"},"content":{"rendered":"\n\t\t\t\t\n<p>Do you want to know how to Install Apache NetBeans (incubating) 9.0 on Ubuntu, Linux Mint and most Linux Distros?<\/p>\n\n\n\n<p>This video will show you how to Install Apache NetBeans (incubating) 9.0 and also how to add the Plugins from NetBeans 8.2.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"HOW TO INSTALL APACHE NETBEANS (incubating) 9.0 ON LINUX MINT\/UBUNTU! - Programming for the Web\" width=\"525\" height=\"295\" src=\"https:\/\/www.youtube.com\/embed\/1uU9Toj9zXk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>You may also be interested in learning more about NetBeans with these very useful &amp;&nbsp;informative books from Amazon: <a rel=\"noreferrer noopener\" aria-label=\"You may also be interested in learning more about NetBeans with these very informative books from Amazon: https:\/\/amzn.to\/2D8nyOh\n (opens in a new tab)\" href=\"https:\/\/amzn.to\/2D8nyOh\" target=\"_blank\">https:\/\/amzn.to\/2D8nyOh<\/a><br><\/p>\n\n\n\n<p><em>**Bonus: Included in the video &#8211; Create a Start Menu Link in Linux Mint for Apache NetBeans (incubating) 9.0.**<\/em> <\/p>\n\n\n\n<p style=\"font-size:8px\">Advertisement<\/p>\n<script async=\"\" src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- JLavelle.UK -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-2859677993068086\" data-ad-slot=\"2807034155\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h4 class=\"wp-block-heading\">The steps to install Apache NetBeans (Incubating) 9.0<\/h4>\n\n\n\n<ol><li>Update your repositories:<br>\n    <pre>sudo apt-get update &amp;&amp; sudo apt-get upgrade<\/pre><\/li><li>Check if you have java installed:<br>\n    <pre>which java<\/pre><br>\nIf java is installed then check the version:<br>\n    <pre>java -version<\/pre><br>\nIMPORTANT: If java JDK8 is <strong>not<\/strong> installed, install JDK8 (NetBeans installation is much, much easier with JDK8):<br>\n    <pre>sudo apt-get install openjdk-8-jdk<\/pre> (you may need to restart Linux afterwards)<br><br>\n    or Download from: <pre>http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html<\/pre> and unzip to ~\/netbeans\/jdk8<br><\/li><br>\n<li>Download &#8220;Apache NetBeans (incubating) 9.0&#8221; from <pre>https:\/\/netbeans.apache.org\/download\/index.html<\/pre><br>\n<ol type=\"i\">\n<li>click on <em>&#8220;Binaries incubating-netbeans-java-9.0-bin.zip ( PGP ASC, SHA-1)&#8221;<\/em><\/li>\n<li>click on the recommended Mirror<\/li>\n<li>Check the Hash (details on the  <em>https:\/\/netbeans.apache.org\/download\/index.html page<\/em>)<\/li>\n<\/ol>\n<\/li>\n<li>Unzip the download by double clicking on it. The Unzip location should be your Home directory as it&#8217;ll create a netbeans directory.<\/li>\n<li>Open the NetBeans directory and navigate to the bin folder (~\/netbeans\/bin)<\/li>\n<li>Double click on <em><strong>netbeans<\/strong><\/em> (NOT the exe files).<br>\nIf you have a problem with NetBeans not starting:<br>\n    <ol type=\"i\"><li>Edit the file:<pre>.\/netbeans\/etc\/netbeans.conf<\/pre><\/li>\n    <li>Come down to near the bottom of the file and look for the line: <code>#netbeans_jdkhome=\"\/path\/to\/jdk\"<\/code><\/li>\n    <li>Remove the leading #<\/li>\n    <li>Enter the path to the JDK8. Examples (change to suit your environment):<br>\n        <pre>netbeans_jdkhome=\"\/home\/$USER\/netbeans\/jdk8\"<\/pre>\nOR\n<pre>netbeans_jdkhome=\"\/usr\/lib\/jvm\/java-8-openjdk-amd64\"<\/pre><\/li>\n    <li>Save the file<\/li>\n    <li>Stop and restart Netbeans if necessary.<\/li><\/ol>\n<\/li><li>Wait for the licence agreement and click on &#8220;I Accept&#8221;<\/li><li><em>Wait<\/em>! On first run it&#8217;ll want to index the dictionaries and do other &#8220;housekeeping&#8221; tasks (patience is a virtue, honest \ud83d\ude42 )<\/li><li>Install the <strong>nb-javac<\/strong> by clicking on the button &#8220;install nb-javac&#8221; button. Accept the defaults in the NetBeans IDE Plugin Installer. Restart the IDE<\/li>\n<li>On Usage Statistics select either &#8220;I Agree&#8221; or &#8220;No, Thank You&#8221;. As Apache are currently developing Netbeans, I would recommend you click on &#8220;I agree&#8221; but, it is YOUR choice.<\/li>\n<li>NetBeans is now up and running<\/li>\n\n\n\n<h3 class=\"wp-block-heading\"><br>To add NetBeans to the menu in Linux Mint 19<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Close NetBeans if it is open<\/li><li>Right click on the Menu and click on &#8220;Configure&#8221;<\/li><li>Click on &#8220;Menu&#8221; (at the top)<\/li><li>Click on &#8220;Open the menu editor&#8221;<\/li><li>In the left pane, click on &#8220;Programming&#8221;<\/li><li>Click on the &#8220;New Item&#8221; button<\/li><li>In the Launcher Properties Dialog enter (note: you can replace $USER with your Username):<ul><li>Name    : <pre>Apache NetBeans (incubating) 9.0<\/pre><\/li><li>Command : <pre>\/bin\/sh \"\/home\/$USER\/netbeans\/bin\/netbeans\"<\/pre><\/li><li>Comment : <pre>The Smarter Way to Code<\/pre><\/li><li>Icon    :  <pre>\/home\/$USER\/netbeans\/nb\/netbeans.png<\/pre><\/li><li>Leave &#8220;Run in Terminal&#8221; <em>unchecked<\/em><\/li><li>Click on &#8220;OK&#8221;<\/li><\/ul><\/li><li>Close the Menu Editor<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">That&#8217;s it! You should be up and running&#8230;<\/h4>\n\n\n\n<p style=\"font-size:8px\">Advertisement<\/p>\n<script async=\"\" src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- JLavelle.UK -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-2859677993068086\" data-ad-slot=\"2807034155\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h4 class=\"wp-block-heading\">Having installed NetBeans, you may want to add the various plugins which are currently missing from NetBeans 9.0<\/h4>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-rich is-provider-programming-for-the-web\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"exIkCXBPZ7\"><a href=\"https:\/\/jlavelle.uk\/pfw\/netbeans-ide\/how-to-add-the-missing-plugins\/\">How to Add the Missing Plugins<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;How to Add the Missing Plugins&#8221; &#8212; jlavelle.uk\" src=\"https:\/\/jlavelle.uk\/pfw\/netbeans-ide\/how-to-add-the-missing-plugins\/embed\/#?secret=14QrpjEtDV#?secret=exIkCXBPZ7\" data-secret=\"exIkCXBPZ7\" width=\"525\" height=\"296\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<hr>\n\n\n\n<h4 class=\"wp-block-heading\">Commands &amp; Links:<\/h4>\n\n\n\n<p>NetBeans IDE 8.2 Plugin Centre:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/updates.netbeans.org\/netbeans\/updates\/8.2\/uc\/final\/distribution\/catalog.xml.gz<\/pre>\n\n\n\n<p>List of Plugins Gist:&nbsp;<a rel=\"noreferrer noopener\" aria-label=\"Gist:&nbsp;https:\/\/gist.github.com\/JQL\/2a3c91ab4996483f7f4ca1ad0ead8dd2 (opens in a new tab)\" href=\"https:\/\/gist.github.com\/JQL\/2a3c91ab4996483f7f4ca1ad0ead8dd2\" target=\"_blank\">https:\/\/gist.github.com\/JQL\/2a3c91ab4996483f7f4ca1ad0ead8dd2<\/a><\/p>\n\n\n\n<p>NetBeans Transition from Oracle: <a href=\"https:\/\/cwiki.apache.org\/confluence\/display\/NETBEANS\/Apache+Transition\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"NetBeans Transition from Oracle: https:\/\/cwiki.apache.org\/confluence\/display\/NETBEANS\/Apache+Transition (opens in a new tab)\">https:\/\/cwiki.apache.org\/confluence\/display\/NETBEANS\/Apache+Transition<\/a><\/p>\n\n\n\n<p>You may also be interested in learning more about NetBeans with these very useful &amp; informative books from Amazon: <a rel=\"noreferrer noopener\" aria-label=\"You may also be interested in learning more about NetBeans with these very informative books from Amazon: https:\/\/amzn.to\/2D8nyOh\n (opens in a new tab)\" href=\"https:\/\/amzn.to\/2D8nyOh\" target=\"_blank\">https:\/\/amzn.to\/2D8nyOh<\/a><br><\/p>\n\n\n\n<p style=\"font-size:8px\">Advertisement<\/p>\n<script async=\"\" src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- JLavelle.UK -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-2859677993068086\" data-ad-slot=\"2807034155\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<p><!--EndFragment--><\/p>\n<p><\/p>\t\t","protected":false},"excerpt":{"rendered":"<p>Do you want to know how to Install Apache NetBeans (incubating) 9.0 on Ubuntu, Linux Mint and most Linux Distros? This video will show you how to Install Apache NetBeans (incubating) 9.0 and also how to add the Plugins from NetBeans 8.2. You may also be interested in learning more about NetBeans with these very &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/jlavelle.uk\/pfw\/netbeans-ide\/installing-netbeans-9-0-on-linux-mint-ubuntu\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing NetBeans 9.0 on Linux Mint &#038; Ubuntu&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":132,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-266","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/jlavelle.uk\/pfw\/wp-json\/wp\/v2\/pages\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jlavelle.uk\/pfw\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jlavelle.uk\/pfw\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jlavelle.uk\/pfw\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jlavelle.uk\/pfw\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":0,"href":"https:\/\/jlavelle.uk\/pfw\/wp-json\/wp\/v2\/pages\/266\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/jlavelle.uk\/pfw\/wp-json\/wp\/v2\/pages\/132"}],"wp:attachment":[{"href":"https:\/\/jlavelle.uk\/pfw\/wp-json\/wp\/v2\/media?parent=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}