{"id":3563,"date":"2021-09-09T12:44:06","date_gmt":"2021-09-09T19:44:06","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=3563"},"modified":"2021-09-09T12:44:08","modified_gmt":"2021-09-09T19:44:08","slug":"how-to-find-the-path-location-of-jre-in-windows-10","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=3563","title":{"rendered":"How to find the Path (Location) of JRE in Windows 10"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>&#8220;Start&#8221; &gt; &#8220;Control Panel&#8221; &gt; &#8220;Java&#8221;.<\/li><li>Select &#8220;Java&#8221; tab.<a href=\"https:\/\/i.stack.imgur.com\/aC2E4.png\"><\/a><\/li><li>Click &#8220;View&#8221;<\/li><li>Look in the &#8220;Path&#8221; column for version of the JRE you have installed.<a href=\"https:\/\/i.stack.imgur.com\/5WFgD.png\"><\/a><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.stack.imgur.com\/aC2E4.png\" alt=\"enter image description here\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.stack.imgur.com\/5WFgD.png\" alt=\"enter image description here\"\/><\/figure>\n\n\n\n<p>In the above example, the &#8220;Path&#8221; contains:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\apps\\jdk\\jre\\bin\\javaw.exe\n<\/code><\/pre>\n\n\n\n<p><code>JAVA_HOME<\/code>&nbsp;should point to the root directory of the Java installation, so in this case:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\apps\\jdk\n<\/code><\/pre>\n\n\n\n<p>And the&nbsp;<code>PATH<\/code>&nbsp;should contain&nbsp;<code>JAVA_HOME\\bin<\/code>, in this case:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\apps\\jdk\\bin\n<\/code><\/pre>\n\n\n\n<p>From a command prompt we can set these values using the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>setx JAVA_HOME C:\\apps\\jdk\nsetx PATH C:\\apps\\jdk\\bin;%PATH%\n<\/code><\/pre>\n\n\n\n<p>Notes:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Modify the above commands as appropriate for your Java installation.<\/li><li>These are&nbsp;<code>System<\/code>&nbsp;not&nbsp;<code>User<\/code>&nbsp;environment variables.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Start&#8221; &gt; &#8220;Control Panel&#8221; &gt; &#8220;Java&#8221;. Select &#8220;Java&#8221; tab. Click &#8220;View&#8221; Look in the &#8220;Path&#8221; column for version of the JRE you have installed. In the above example, the &#8220;Path&#8221; contains: JAVA_HOME&nbsp;should point to the root directory of the Java installation, so in this case: And the&nbsp;PATH&nbsp;should contain&nbsp;JAVA_HOME\\bin, in this case: From a command prompt <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=3563\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,14,15],"tags":[846,845],"class_list":["post-3563","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-windows-7-8-10","category-windows-servers","tag-location-of-jre","tag-path-of-jre"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3563"}],"version-history":[{"count":3,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3563\/revisions"}],"predecessor-version":[{"id":3566,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3563\/revisions\/3566"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}