{"id":316,"date":"2012-05-25T08:42:01","date_gmt":"2012-05-25T13:42:01","guid":{"rendered":"http:\/\/dmach.net\/blog\/?p=316"},"modified":"2012-05-25T08:42:01","modified_gmt":"2012-05-25T13:42:01","slug":"netbeans-7-and-java-sdk-jdk","status":"publish","type":"post","link":"https:\/\/dmach.net\/blog\/2012\/05\/25\/netbeans-7-and-java-sdk-jdk\/","title":{"rendered":"NetBeans 7 and Java SDK (JDK)"},"content":{"rendered":"<p>Recently I update to the latest NetBeans 7 installation and set it to use the Java 7 SDK (JDK). When launching the program, I get frequently got this annoying error message that says &#8220;JVM creation failed&#8221;, followed by an exit of the program.<\/p>\n<p>Numerous articles and postings advise to edit the netbeans.conf file and change some memory parameters, but those did not work for me. I found the solution to be to install and use the SDK that matches your OS architecture, especially if you&#8217;re using a 64-bit environment. While you can&#8217;t use the 64-bit JDK on a 32-bit system, the opposite is possible but leads to random memory quirks like this one.<\/p>\n<p>CONCLUSION: use the 64-bit Java SDK on a 64-bit machine. You might want to install the 32-bit Java Runtime (JRE) for compatibility reasons, and it will run alongside the 64-bit JDK + JRE just fine.<\/p>\n<p>ALSO: I updated my NetBeans and JDK to get around the issue where NetBeans would not retrieve directory listings over FTP. I went from NetBeans 7.1.1 and JDK 7u2 to NetBeans 7.1.2 and JDK 7u4.<\/p>\n<p>That&#8217;s all. Happy developing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I update to the latest NetBeans 7 installation and set it to use the Java 7 SDK (JDK). When launching the program, I get frequently got this annoying error message that says &#8220;JVM creation failed&#8221;, followed by an exit of the program. Numerous articles and postings advise to edit the netbeans.conf file and change [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-tech-tips"],"_links":{"self":[{"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/comments?post=316"}],"version-history":[{"count":1,"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/posts\/316\/revisions"}],"predecessor-version":[{"id":317,"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/posts\/316\/revisions\/317"}],"wp:attachment":[{"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/categories?post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dmach.net\/blog\/wp-json\/wp\/v2\/tags?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}