{"id":28,"date":"2015-03-15T16:44:20","date_gmt":"2015-03-15T21:44:20","guid":{"rendered":"https:\/\/www.staging.javanator.org\/?p=28"},"modified":"2016-07-04T15:27:36","modified_gmt":"2016-07-04T20:27:36","slug":"specifying-the-jdk-used-to-run-eclipse","status":"publish","type":"post","link":"https:\/\/www.staging.javanator.org\/?p=28","title":{"rendered":"Specifying the JDK Used To Run Eclipse"},"content":{"rendered":"<p>How do you specify precisely which JDK will be used to run Eclipse?<\/p>\n<p>The short answer:  Put it in <code>eclipse.ini<\/code>:<\/p>\n<pre class=\"nums:false lang:ini decode:true \" >-vm\r\nC:\\jdk1.7.0_76\\bin\\javaw.exe\r\n<\/pre>\n<p>The <code>-vm<\/code> and the path to the Java executable need to be on separate lines.<\/p>\n<p>Reference this <a href=\"https:\/\/wiki.eclipse.org\/Eclipse.ini\" target=\"_blank\">Eclipse wiki page about eclipse.ini<\/a> for details.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do you specify precisely which JDK will be used to run Eclipse? The short answer: Put it in eclipse.ini: -vm C:\\jdk1.7.0_76\\bin\\javaw.exe The -vm and the path to the Java executable need to be on separate lines. Reference this Eclipse wiki page about eclipse.ini for details.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":11,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":39,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions\/39"}],"wp:attachment":[{"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}