{"id":84,"date":"2020-02-04T21:48:00","date_gmt":"2020-02-04T21:48:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=84"},"modified":"2024-02-06T08:16:55","modified_gmt":"2024-02-06T13:16:55","slug":"setting-up-java-ee-and-eclipse-on-microsoft-windows","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/setting-up-java-ee-and-eclipse-on-microsoft-windows\/","title":{"rendered":"Setting up Java EE and Eclipse on Microsoft Windows"},"content":{"rendered":"\n<p>Following are the steps to install Java EE and Eclipse on Microsoft Windows:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Download Java EE Development Kit with JDK from&nbsp;<a target=\"_blank\" href=\"http:\/\/www.oracle.com\/technetwork\/java\/javaee\/downloads\/index.html\" rel=\"noreferrer noopener\">Oracle<\/a>. Choose a version that includes the GlassFish server.<\/li><li>Double-click and install. Assuming that you installed at c:\\glassfish3.<\/li><li>Download Eclipse IDE for Java EE Developers from&nbsp;<a target=\"_blank\" href=\"http:\/\/www.eclipse.org\/downloads\/\" rel=\"noreferrer noopener\">eclipse.org<\/a><\/li><li>Unzip to c:\\<\/li><li>Open command prompt by clicking of the start icon and typing cmd in the search field. Press enter.<\/li><li>Type cd c:\\eclipse<\/li><li>By default, eclipse only looks for JRE within its folders, so you need to specify the location on your JRE. To do this, type eclipse -vm c:\\glassfish3\\jdk\\jre\\bin\\bin\\javaw.exe<\/li><li>Obviously, you would not want to run this long command every time. So you need to change eclipse.ini settings. Open c:\\eclipse.ini with a non-formatting editor like notepad. Add the following just above lines above &#8211;vmargs-vm c:\\glassfish3\\jdk\\jre\\bin\\javaw.exe<\/li><\/ol>\n\n\n\n<p>and save the changes.<\/p>\n\n\n\n<p>Your eclipse.ini should look like the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-startup\nplugins\/org.eclipse.equinox.launcher_1.2.0.v20110502.jar\n--launcher.library\nplugins\/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502\n-product\norg.eclipse.epp.package.jee.product\n--launcher.defaultAction\nopenFile\n--launcher.XXMaxPermSize\n256M\n-showsplash\norg.eclipse.platform\n--launcher.XXMaxPermSize\n256m\n--launcher.defaultAction\nopenFile\n-vm\nc:\\glassfish3\\jdk\\jre\\bin\\javaw.exe\n-vmargs\n-Dosgi.requiredJavaVersion=1.5\n-Xms40m\n-Xmx512m<\/code><\/pre>\n\n\n\n<p>double-click on the eclipse.exe icon to start eclipse. You might also want to add a shortcut to the desktop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following are the steps to install Java EE and Eclipse on Microsoft Windows: Download Java EE Development Kit with JDK from&nbsp;Oracle. Choose a version that includes the GlassFish server. Double-click and install. Assuming that you installed at c:\\glassfish3. Download Eclipse IDE for Java EE Developers from&nbsp;eclipse.org Unzip to c:\\ Open command prompt by clicking of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,182],"tags":[82,38,41],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-java","category-microsoft-windows","tag-installation-guide","tag-java","tag-microsoft-windows"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/84\/revisions\/85"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}