{"id":1000958,"date":"2007-11-17T12:33:18","date_gmt":"2007-11-17T17:33:18","guid":{"rendered":"http:\/\/www.elharo.com\/blog\/linux\/2007\/11\/17\/error-occurred-during-initialization-of-vm-javalangclassnotfoundexception-error-in-opening-jar-file-usrlocaljavajrelibrtjar\/"},"modified":"2007-11-24T11:06:56","modified_gmt":"2007-11-24T16:06:56","slug":"error-occurred-during-initialization-of-vm-javalangclassnotfoundexception-error-in-opening-jar-file-usrlocaljavajrelibrtjar","status":"publish","type":"post","link":"https:\/\/www.elharo.com\/blog\/software-development\/java\/2007\/11\/17\/error-occurred-during-initialization-of-vm-javalangclassnotfoundexception-error-in-opening-jar-file-usrlocaljavajrelibrtjar\/","title":{"rendered":"Error occurred during initialization of VM java\/lang\/ClassNotFoundException: error in opening JAR file \/usr\/local\/java\/jre\/lib\/rt.jar"},"content":{"rendered":"<p>Just a little Google fodder. Should you encounter this uncommon error message when trying to compile or run a  Java program:<\/p>\n<pre><samp>$ javac -version\r\nError occurred during initialization of VM\r\njava\/lang\/ClassNotFoundException: error in opening JAR file \/usr\/local\/java\/jre\/lib\/rt.jar<\/samp><\/pre>\n<p>it means that your installation of the JDK, and likely your original download is corrupt. Delete it, download again, and reinstall. This can occur with essentially any Java program: the interpreter, the compiler, jar, or a program merely written in Java such as LimeWire.<\/p>\n<p>For reasons that aren&#8217;t especially clear, this bug seems to occur most frequently on Ubuntu Linux 7.10 Gutsy Gibbon when running in a virtualized environment such as VMWare. At least those seem to be the common factors for everyone else I found with this problem when googling it myself. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a little Google fodder. Should you encounter this uncommon error message when trying to compile or run a Java program: $ javac -version Error occurred during initialization of VM java\/lang\/ClassNotFoundException: error in opening JAR file \/usr\/local\/java\/jre\/lib\/rt.jar it means that your installation of the JDK, and likely your original download is corrupt. Delete it, download [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[410],"class_list":["post-1000958","post","type-post","status-publish","format-standard","hentry","category-java","tag-flash"],"_links":{"self":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1000958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/comments?post=1000958"}],"version-history":[{"count":0,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1000958\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/media?parent=1000958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/categories?post=1000958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/tags?post=1000958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}