{"id":920,"date":"2007-10-19T17:15:25","date_gmt":"2007-10-19T16:15:25","guid":{"rendered":"http:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm"},"modified":"2007-10-20T17:08:01","modified_gmt":"2007-10-20T16:08:01","slug":"checking-which-version-of-java-is-installed","status":"publish","type":"post","link":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm","title":{"rendered":"Checking which version of Java is installed"},"content":{"rendered":"<p>I just came across a handy way of checking the version of Java that&#8217;s installed on a computer.  Try typing:<\/p>\n<p><code>java -version<\/code><\/p>\n<p>This seems to work for me on Windows, MacOS and Linux, regardless of the Java vendor (i.e. my RHEL5 box has a GNU version of Java rather than Sun Java, although I&#8217;m not sure what happens for the Microsoft Java VM).  Of course, if the command is not found, that probably means that you don&#8217;t have Java installed (or at least not on your path).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just came across a handy way of checking the version of Java that&#8217;s installed on a computer. Try typing: java -version This seems to work for me on Windows, MacOS and Linux, regardless of the Java vendor (i.e. my RHEL5 box has a GNU version of Java rather than Sun Java, although I&#8217;m not &hellip; <a href=\"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Checking which version of Java is installed<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[66],"class_list":["post-920","post","type-post","status-publish","format-standard","hentry","tag-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Checking which version of Java is installed - markwilson.it<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Checking which version of Java is installed - markwilson.it\" \/>\n<meta property=\"og:description\" content=\"I just came across a handy way of checking the version of Java that&#8217;s installed on a computer. Try typing: java -version This seems to work for me on Windows, MacOS and Linux, regardless of the Java vendor (i.e. my RHEL5 box has a GNU version of Java rather than Sun Java, although I&#8217;m not &hellip; Continue reading Checking which version of Java is installed\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm\" \/>\n<meta property=\"og:site_name\" content=\"markwilson.it\" \/>\n<meta property=\"article:published_time\" content=\"2007-10-19T16:15:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2007-10-20T16:08:01+00:00\" \/>\n<meta name=\"author\" content=\"Mark Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@markwilsonit\" \/>\n<meta name=\"twitter:site\" content=\"@markwilsonit\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Wilson\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm\"},\"author\":{\"name\":\"Mark Wilson\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"headline\":\"Checking which version of Java is installed\",\"datePublished\":\"2007-10-19T16:15:25+00:00\",\"dateModified\":\"2007-10-20T16:08:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm\"},\"wordCount\":96,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"keywords\":[\"Java\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm\",\"name\":\"Checking which version of Java is installed - markwilson.it\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#website\"},\"datePublished\":\"2007-10-19T16:15:25+00:00\",\"dateModified\":\"2007-10-20T16:08:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2007\\\/10\\\/checking-which-version-of-java-is-installed.htm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Checking which version of Java is installed\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/\",\"name\":\"markwilson.it\",\"description\":\"get-info -class technology | write-output &gt; \\\/dev\\\/web\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\",\"name\":\"Mark Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"width\":800,\"height\":800,\"caption\":\"Mark Wilson\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\"},\"description\":\"A Chartered IT Professional, with recent experience in technology leadership, IT strategy and practice management roles, Mark Wilson is an Enterprise Architect in the Advisory and Management Group at risual. During a career spanning more than two decades, Mark has gained widespread recognition as an expert in his field including both industry and national press exposure. In addition to certifications from Microsoft, VMware, Red Hat, The Open Group and Axelos, Mark held a Microsoft Most Valuable Professional (MVP) award for three years and is now part of the MVP Reconnect programme. Mark is also well-known on social media and maintains an award-winning blog.\",\"sameAs\":[\"http:\\\/\\\/www.markwilson.co.uk\\\/\",\"https:\\\/\\\/www.instagram.com\\\/markwilsonuk\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/markawilson\\\/\",\"https:\\\/\\\/x.com\\\/markwilsonit\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCWHlZCoHRTocdvtrOJ2IL4A\"],\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/author\\\/mark-wilson\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Checking which version of Java is installed - markwilson.it","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm","og_locale":"en_GB","og_type":"article","og_title":"Checking which version of Java is installed - markwilson.it","og_description":"I just came across a handy way of checking the version of Java that&#8217;s installed on a computer. Try typing: java -version This seems to work for me on Windows, MacOS and Linux, regardless of the Java vendor (i.e. my RHEL5 box has a GNU version of Java rather than Sun Java, although I&#8217;m not &hellip; Continue reading Checking which version of Java is installed","og_url":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm","og_site_name":"markwilson.it","article_published_time":"2007-10-19T16:15:25+00:00","article_modified_time":"2007-10-20T16:08:01+00:00","author":"Mark Wilson","twitter_card":"summary_large_image","twitter_creator":"@markwilsonit","twitter_site":"@markwilsonit","twitter_misc":{"Written by":"Mark Wilson"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm#article","isPartOf":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm"},"author":{"name":"Mark Wilson","@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"headline":"Checking which version of Java is installed","datePublished":"2007-10-19T16:15:25+00:00","dateModified":"2007-10-20T16:08:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm"},"wordCount":96,"commentCount":0,"publisher":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"keywords":["Java"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm","url":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm","name":"Checking which version of Java is installed - markwilson.it","isPartOf":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#website"},"datePublished":"2007-10-19T16:15:25+00:00","dateModified":"2007-10-20T16:08:01+00:00","breadcrumb":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.markwilson.co.uk\/blog\/2007\/10\/checking-which-version-of-java-is-installed.htm#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.markwilson.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Checking which version of Java is installed"}]},{"@type":"WebSite","@id":"https:\/\/www.markwilson.co.uk\/blog\/#website","url":"https:\/\/www.markwilson.co.uk\/blog\/","name":"markwilson.it","description":"get-info -class technology | write-output &gt; \/dev\/web","publisher":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.markwilson.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468","name":"Mark Wilson","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","url":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","width":800,"height":800,"caption":"Mark Wilson"},"logo":{"@id":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1"},"description":"A Chartered IT Professional, with recent experience in technology leadership, IT strategy and practice management roles, Mark Wilson is an Enterprise Architect in the Advisory and Management Group at risual. During a career spanning more than two decades, Mark has gained widespread recognition as an expert in his field including both industry and national press exposure. In addition to certifications from Microsoft, VMware, Red Hat, The Open Group and Axelos, Mark held a Microsoft Most Valuable Professional (MVP) award for three years and is now part of the MVP Reconnect programme. Mark is also well-known on social media and maintains an award-winning blog.","sameAs":["http:\/\/www.markwilson.co.uk\/","https:\/\/www.instagram.com\/markwilsonuk\/","https:\/\/www.linkedin.com\/in\/markawilson\/","https:\/\/x.com\/markwilsonit","https:\/\/www.youtube.com\/channel\/UCWHlZCoHRTocdvtrOJ2IL4A"],"url":"https:\/\/www.markwilson.co.uk\/blog\/author\/mark-wilson"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":644,"url":"https:\/\/www.markwilson.co.uk\/blog\/2006\/09\/installing-sun-java-runtime_22.htm","url_meta":{"origin":920,"position":0},"title":"Installing the Sun Java runtime environment on Fedora Core 5","author":"Mark Wilson","date":"Friday 22 September 2006","format":false,"excerpt":"It's no secret that I'm no fan of Java applications, but its also a necessary evil that I generally need to have installed on my PC. I had a few problems getting it working on my Linux (Fedora Core 5) PC though - this is what I had to do.\u2026","rel":"","context":"In \"Java\"","block_context":{"text":"Java","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/java"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1528,"url":"https:\/\/www.markwilson.co.uk\/blog\/2009\/09\/match-your-java-installation-to-your-browser.htm","url_meta":{"origin":920,"position":1},"title":"Match your Java installation to your browser&#8230;","author":"Mark Wilson","date":"Tuesday 15 September 2009","format":false,"excerpt":"I run 64-bit Windows 7 at work so, when installing the Sun Java Runtime Environment (JRE) in order to access some of my corporate applications, naturally I installed a 64-bit version of the JRE. Application 1 ran OK, but application 2 (which is a usability nightmare at the best of\u2026","rel":"","context":"In \"Java\"","block_context":{"text":"Java","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/java"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1008,"url":"https:\/\/www.markwilson.co.uk\/blog\/2008\/07\/stop-installing-unnecessary-software-on-my-pcs.htm","url_meta":{"origin":920,"position":2},"title":"Stop installing unnecessary software on my PCs","author":"Mark Wilson","date":"Thursday 10 July 2008","format":false,"excerpt":"What is it about software companies that they think they can install a load of rubbish on my PCs? This morning, Java was bugging me that it wanted to install an update. That's fair enough but, as it installed, it asked me if I wanted to install OpenOffice too (I\u2026","rel":"","context":"In \"Adobe\"","block_context":{"text":"Adobe","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/adobe"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":661,"url":"https:\/\/www.markwilson.co.uk\/blog\/2005\/10\/this-is-why-im-not-fan-of-java.htm","url_meta":{"origin":920,"position":3},"title":"This is why I&#8217;m not a fan of Java","author":"Mark Wilson","date":"Monday 10 October 2005","format":false,"excerpt":"I just wasted 2 days (one of which was on my weekend), and a lot of sleep, trying to work out why I couldn't upgrade the Windows 2000 server which looks after my domain, DHCP, RIS, SUS and a whole load of other bits at home. Every time I tried\u2026","rel":"","context":"In \"Java\"","block_context":{"text":"Java","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/java"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":531,"url":"https:\/\/www.markwilson.co.uk\/blog\/2005\/07\/quick-internet-security-audit-and.htm","url_meta":{"origin":920,"position":4},"title":"A quick Internet security audit (and other Internet tools)","author":"Mark Wilson","date":"Friday 15 July 2005","format":false,"excerpt":"Yesterday, I stumbled across AuditMyPC, which includes a number of tests (and tips) to help improve PC and network security. Most of the information is available elsewhere on the 'net but it's nice to find it all in one place. What worried me (and convinced me that the guy who\u2026","rel":"","context":"In \"Useful Websites\"","block_context":{"text":"Useful Websites","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/useful-websites"},"img":{"alt_text":"Audit your firewall online, check your privacy and remove spyware.","src":"https:\/\/i0.wp.com\/www.auditmypc.com\/icons\/auditmypcs.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":358,"url":"https:\/\/www.markwilson.co.uk\/blog\/2006\/08\/installing-macromedia-flash-plug-in-on.htm","url_meta":{"origin":920,"position":5},"title":"Installing the Macromedia Flash plug-in on a Linux client","author":"Mark Wilson","date":"Thursday 24 August 2006","format":false,"excerpt":"If, like me, you've been struggling to install the Macromedia Flash plug-in for Firefox on a Linux machine (in my case it was Fedora Core 5), then you may find item 12 on the Macromedia Flash Player 7 for x86 Linux frequently asked questions useful. For weeks now, every time\u2026","rel":"","context":"In \"Adobe Flash\"","block_context":{"text":"Adobe Flash","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/flash"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=920"}],"version-history":[{"count":0,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/920\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}