{"id":12,"date":"2019-11-21T02:42:00","date_gmt":"2019-11-21T02:42:00","guid":{"rendered":""},"modified":"2024-09-13T14:25:59","modified_gmt":"2024-09-13T14:25:59","slug":"how-to-fix-jar-not-recognized-error-on-windows","status":"publish","type":"post","link":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/","title":{"rendered":"How to Fix Jar Not Recognized Error On Windows"},"content":{"rendered":"<p>The other day I was trying to view the contents of a jar file by entering this on the command line:<\/p>\n<p>jar tf jarfilename.jar<\/p>\n<p>I got the following error:<\/p>\n<p>&#8216;jar&#8217; is not recognized as an internal or external command, operable program or batch file<\/p>\n<p>To fix this error:<\/p>\n<p>Make sure a JAVA_HOME environment variable is set to the location of your Java installation, such as C:Program Files(x86)Javajdk1.8.0_25<\/p>\n<p>Then add the following to the PATH environment variable to include the Java installation&#8217;s bin directory: %JAVA_HOME%bin<\/p>\n<p>\n#paidlinks<\/p>\n<p><a href=\"https:\/\/amzn.to\/2r8a4yn\" target=\"_blank\" rel=\"noopener\">More Java<\/a><\/p>\n<p>\n<iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/ws-na.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&#038;OneJS=1&#038;Operation=GetAdHtml&#038;MarketPlace=US&#038;source=ss&#038;ref=as_ss_li_til&#038;ad_type=product_link&#038;tracking_id=zofxare-20&#038;language=en_US&#038;marketplace=amazon&#038;region=US&#038;placement=0134685997&#038;asins=0134685997&#038;linkId=6592438580bb45a26bdd68d5e61fe6f0&#038;show_border=true&#038;link_opens_in_new_window=true\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/ws-na.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&#038;OneJS=1&#038;Operation=GetAdHtml&#038;MarketPlace=US&#038;source=ss&#038;ref=as_ss_li_til&#038;ad_type=product_link&#038;tracking_id=zofxare-20&#038;language=en_US&#038;marketplace=amazon&#038;region=US&#038;placement=0672337940&#038;asins=0672337940&#038;linkId=ecd29120384fe870da3f6b6e2cc2d352&#038;show_border=true&#038;link_opens_in_new_window=true\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/ws-na.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&#038;OneJS=1&#038;Operation=GetAdHtml&#038;MarketPlace=US&#038;source=ss&#038;ref=as_ss_li_til&#038;ad_type=product_link&#038;tracking_id=zofxare-20&#038;language=en_US&#038;marketplace=amazon&#038;region=US&#038;placement=1119247799&#038;asins=1119247799&#038;linkId=faf9875ecb758d1d6dbbc06af38990b5&#038;show_border=true&#038;link_opens_in_new_window=true\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The other day I was trying to view the contents of a jar file by entering this on the command line: jar tf jarfilename.jar I got the following error: &#8216;jar&#8217; is not recognized as an internal or external command, operable program or batch file To fix this error: Make sure a JAVA_HOME environment variable is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","om_disable_all_campaigns":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Fix Jar Not Recognized Error On Windows - Zofxare Blog Home<\/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:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix Jar Not Recognized Error On Windows - Zofxare Blog Home\" \/>\n<meta property=\"og:description\" content=\"The other day I was trying to view the contents of a jar file by entering this on the command line: jar tf jarfilename.jar I got the following error: &#8216;jar&#8217; is not recognized as an internal or external command, operable program or batch file To fix this error: Make sure a JAVA_HOME environment variable is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"Zofxare Blog Home\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-21T02:42:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-13T14:25:59+00:00\" \/>\n<meta name=\"author\" content=\"zofxare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"zofxare\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/\"},\"author\":{\"name\":\"zofxare\",\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/#\\\/schema\\\/person\\\/094f5dde70100b9f8fbc63174a2a40ce\"},\"headline\":\"How to Fix Jar Not Recognized Error On Windows\",\"datePublished\":\"2019-11-21T02:42:00+00:00\",\"dateModified\":\"2024-09-13T14:25:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/\"},\"wordCount\":104,\"commentCount\":0,\"articleSection\":[\"java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/\",\"url\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/\",\"name\":\"How to Fix Jar Not Recognized Error On Windows - Zofxare Blog Home\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/#website\"},\"datePublished\":\"2019-11-21T02:42:00+00:00\",\"dateModified\":\"2024-09-13T14:25:59+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/#\\\/schema\\\/person\\\/094f5dde70100b9f8fbc63174a2a40ce\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/2019\\\/11\\\/21\\\/how-to-fix-jar-not-recognized-error-on-windows\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix Jar Not Recognized Error On Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/\",\"name\":\"Zofxare Blog Home\",\"description\":\"The Zofxare blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/#\\\/schema\\\/person\\\/094f5dde70100b9f8fbc63174a2a40ce\",\"name\":\"zofxare\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=retro&r=g\",\"caption\":\"zofxare\"},\"url\":\"https:\\\/\\\/zofxare.com\\\/zofxare\\\/blog\\\/author\\\/zofxare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix Jar Not Recognized Error On Windows - Zofxare Blog Home","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:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix Jar Not Recognized Error On Windows - Zofxare Blog Home","og_description":"The other day I was trying to view the contents of a jar file by entering this on the command line: jar tf jarfilename.jar I got the following error: &#8216;jar&#8217; is not recognized as an internal or external command, operable program or batch file To fix this error: Make sure a JAVA_HOME environment variable is [&hellip;]","og_url":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/","og_site_name":"Zofxare Blog Home","article_published_time":"2019-11-21T02:42:00+00:00","article_modified_time":"2024-09-13T14:25:59+00:00","author":"zofxare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"zofxare"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/#article","isPartOf":{"@id":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/"},"author":{"name":"zofxare","@id":"https:\/\/zofxare.com\/zofxare\/blog\/#\/schema\/person\/094f5dde70100b9f8fbc63174a2a40ce"},"headline":"How to Fix Jar Not Recognized Error On Windows","datePublished":"2019-11-21T02:42:00+00:00","dateModified":"2024-09-13T14:25:59+00:00","mainEntityOfPage":{"@id":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/"},"wordCount":104,"commentCount":0,"articleSection":["java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/","url":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/","name":"How to Fix Jar Not Recognized Error On Windows - Zofxare Blog Home","isPartOf":{"@id":"https:\/\/zofxare.com\/zofxare\/blog\/#website"},"datePublished":"2019-11-21T02:42:00+00:00","dateModified":"2024-09-13T14:25:59+00:00","author":{"@id":"https:\/\/zofxare.com\/zofxare\/blog\/#\/schema\/person\/094f5dde70100b9f8fbc63174a2a40ce"},"breadcrumb":{"@id":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zofxare.com\/zofxare\/blog\/2019\/11\/21\/how-to-fix-jar-not-recognized-error-on-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zofxare.com\/zofxare\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix Jar Not Recognized Error On Windows"}]},{"@type":"WebSite","@id":"https:\/\/zofxare.com\/zofxare\/blog\/#website","url":"https:\/\/zofxare.com\/zofxare\/blog\/","name":"Zofxare Blog Home","description":"The Zofxare blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zofxare.com\/zofxare\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zofxare.com\/zofxare\/blog\/#\/schema\/person\/094f5dde70100b9f8fbc63174a2a40ce","name":"zofxare","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=retro&r=g","caption":"zofxare"},"url":"https:\/\/zofxare.com\/zofxare\/blog\/author\/zofxare\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":1,"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/posts\/12\/revisions\/174"}],"wp:attachment":[{"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zofxare.com\/zofxare\/blog\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}