{"id":2220,"date":"2017-06-15T21:43:01","date_gmt":"2017-06-15T21:43:01","guid":{"rendered":"http:\/\/10.10.10.4:9191\/softlect\/?p=2220"},"modified":"2020-04-09T12:01:30","modified_gmt":"2020-04-09T12:01:30","slug":"checking-java-version-in-windows-7","status":"publish","type":"post","link":"http:\/\/softlect.com\/index.php\/checking-java-version-in-windows-7\/","title":{"rendered":"Checking Java Version in Windows 7 or XP"},"content":{"rendered":"<p>In this tutorial, we will look at how to check which version of Java is installed on the system more specifically which version of Java software development kit that is JSDK and Java runtime environment that is JRE is installed.<\/p>\n<p>I am going to open up a command prompt by clicking Windows Start button on the bottom left corner of the screen and then type \u201ccmd\u201d in the search box, as you can see command prompt is open on my screen, on the command prompt type \u201cjavac\u201d space hyphen (-) version, you can see the version of JSDK is displayed, similarly, you can type \u201cjava\u201d space hyphen version, \u00a0you can see how the version of JRE is displayed.<\/p>\n<p><strong><span style=\"color: #ff6600;\">The video below outlines the steps to check which version of Java is running in your Windows 7 or XP computer.<\/span><\/strong><\/p>\n<p>\u00a0<\/p>\n<center><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/wNtq5mlzliY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br \/><strong>Checking Java Version in Windows XP or 7<\/strong><\/center>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<center><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/vhBNV8no4CI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br \/><strong>Setting Path and Classpath for Java in Windows 7<\/strong><\/center>\n<p>\u00a0<\/p>\n<p>This is the quick and easy way to check which version is installed on your system, you need to make sure that both the version of JSDK and JRE are same, for your programs to compile and execute.<\/p>\n<p>On some systems, when you type javac &#8211; version or java \u2013version, you will see that javac is not recognized as an internal or external command. This is because of the reason that either Java is not installed on your system or Java is installed but the path is not set at all or the path is incorrectly set.<\/p>\n<p>\u00a0<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This video tutorial outlines the steps to check which version of Java is running in your Windows 7 or XP computer. More specifically which version of Java Software Development Kit, that is JSDK\u00a0 and Java Runtime Environment JDK.\u00a0 This is very helpful since some times we may get an error of class version mismatch. This happens when the version of JDK and JRE differs.<\/p>\n","protected":false},"author":1,"featured_media":2899,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"video","meta":[],"categories":[75],"tags":[],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/posts\/2220"}],"collection":[{"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/comments?post=2220"}],"version-history":[{"count":12,"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/posts\/2220\/revisions"}],"predecessor-version":[{"id":3737,"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/posts\/2220\/revisions\/3737"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/media\/2899"}],"wp:attachment":[{"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/media?parent=2220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/categories?post=2220"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/softlect.com\/index.php\/wp-json\/wp\/v2\/tags?post=2220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}