{"id":576,"date":"2011-04-29T13:06:24","date_gmt":"2011-04-29T12:06:24","guid":{"rendered":"http:\/\/trigonakis.com\/blog\/?p=576"},"modified":"2011-05-05T08:07:33","modified_gmt":"2011-05-05T07:07:33","slug":"netbeans-7-0-on-ubuntu-installation-%e2%80%93-openjdk-problem","status":"publish","type":"post","link":"http:\/\/trigonakis.com\/blog\/2011\/04\/29\/netbeans-7-0-on-ubuntu-installation-%e2%80%93-openjdk-problem\/","title":{"rendered":"Netbeans 7.0 on Ubuntu Installation \u2013 OpenJDK problem"},"content":{"rendered":"<h3>Installation<\/h3>\n<p>The installation process is simple:<\/p>\n<ol>\n<li>Download the version you want to install from <a href=\"http:\/\/netbeans.org\/downloads\/index.html\" target=\"_new\">here<\/a>.<\/li>\n<li>Navigate to the folder were the <code>.sh<\/code> file was downloaded.<\/li>\n<li>Give executable permissions to the <code>.sh<\/code> file.<\/li>\n<li>Execute the installer (<code>.sh<\/code>) file either pretending <code>sudo<\/code> command (in order to install it in the default <code>\/usr\/local\/netbeans-7.0<\/code> location) or without (in order to install it in the <code>\/home\/Username\/netbeans-7.0\/<\/code> location)<\/li>\n<li>Use the Graphical Installer to do the installation.<\/li>\n<\/ol>\n<p>For example:<\/p>\n<pre lang=\"bash\">\r\n[~] $ cd ~\/Desktop\/                                                     # Step 2\r\n[~\/Desktop] $ ls -l netbeans-7.0-ml-cpp-linux.sh \r\n-rw-r--r-- 1 *** *** 45967360 2011-05-03 09:21 netbeans-7.0-ml-cpp-linux.sh\r\n[~\/Desktop] $ chmod +x netbeans-7.0-ml-cpp-linux.sh                     # Step 3\r\n[~\/Desktop] $ ls -l netbeans-7.0-ml-cpp-linux.sh \r\n-rwxr-xr-x 1 *** *** 45967360 2011-05-03 09:21 netbeans-7.0-ml-cpp-linux.sh\r\n[~\/Desktop] $ sudo .\/netbeans-7.0-ml-cpp-linux.sh                       # Step 4\r\nConfiguring the installer...\r\nSearching for JVM on the system...\r\nExtracting installation data...\r\nRunning the installer wizard...\r\n<\/pre>\n<h3>OpenJDK Problem<\/h3>\n<p>The problem with OpenJDK<\/p>\n<pre lang=\"bask\">\r\nConfiguring the installer...\r\nSearching for JVM on the system...\r\nExtracting installation data...\r\nRunning the installer wizard...\r\nnull\r\n<\/pre>\n<p>while installing <strong>Netbeans 6.9.1<\/strong> on Ubuntu is the same for <strong>Netbeans 7<\/strong>. <strong>Netbeans needs Sun JDK to work<\/strong>, otherwise even the installation wizard (GUI) does not appear.<\/p>\n<p>Read more details about the problem and how to solve it in the post about <a href=\"http:\/\/trigonakis.com\/blog\/2011\/02\/06\/netbeans-6-9-1-on-ubuntu-10-10-installation-openjdk-problem\/\">Netbeans 6.9.1<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installation The installation process is simple: Download the version you want to install from here. Navigate to the folder were the .sh file was downloaded. Give executable permissions to the .sh file. Execute the installer (.sh) file either pretending sudo command (in order to install it in the default \/usr\/local\/netbeans-7.0 location) or without (in order [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[37],"tags":[33,9,32,34,31],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1ouW6-9i","_links":{"self":[{"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/posts\/576"}],"collection":[{"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/comments?post=576"}],"version-history":[{"count":10,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/posts\/576\/revisions"}],"predecessor-version":[{"id":581,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/posts\/576\/revisions\/581"}],"wp:attachment":[{"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/media?parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/categories?post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/tags?post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}