{"id":356,"date":"2003-04-07T16:04:44","date_gmt":"2003-04-07T20:04:44","guid":{"rendered":"\/?p=356"},"modified":"2016-08-19T11:21:19","modified_gmt":"2016-08-19T15:21:19","slug":"jdk_141","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2003\/04\/07\/jdk_141\/","title":{"rendered":"JDK 1.4.1"},"content":{"rendered":"<p><a href=\"http:\/\/www.oreillynet.com\/cs\/weblog\/view\/wlg\/2933\">Chris Adamson<\/a>:<\/p>\r\n\r\n\r\n\r\n<blockquote cite=\"http:\/\/www.oreillynet.com\/cs\/weblog\/view\/wlg\/2933\">\r\n<p>What&rsquo;s happening is that Java 1.4.1, now the default when you type java on the command line, does not support certain Java-to-Carbon technologies that QuickTime for Java depends on.<\/p>\r\n<\/blockquote>\r\n\r\n<p>This change also breaks <a href=\"http:\/\/www.c-command.com\/dropdmg\/\">DropDMG 2.0<\/a>&rsquo;s MacBinary encoder. JDK 1.3.1 is still installed and available in <tt>\/System\/Library\/Frameworks\/JavaVM.framework\/Versions\/1.3.1\/<\/tt>, however I made the mistake of hard-coding <tt>\/usr\/bin\/java<\/tt> into DropDMG. (In the future I will indirect such paths through the defaults database.)<\/p>\r\n\r\n<p>\r\n\r\nThe next version of DropDMG will use a new MacBinary encoder that works with JDK 1.4.1. For now, if you want to make MacBinary-encoded images with DropDMG, you can <em>not<\/em> update to JDK 1.4.1 or symlink <tt>\/usr\/bin\/java<\/tt> to <tt>\/System\/Library\/Frameworks\/JavaVM.framework\/Versions\/1.3.1\/Commands\/java<\/tt>.\r\n<\/p>\r\n\r\n\r\n\r\n<blockquote>\r\n\r\nsudo mv \/usr\/bin\/java \/usr\/bin\/java141<br \/>\r\n\r\nsudo ln -s \/System\/Library\/Frameworks\/JavaVM.framework\/Versions\/1.3.1\/Commands\/java \/usr\/bin\/java\r\n\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Chris Adamson: What&rsquo;s happening is that Java 1.4.1, now the default when you type java on the command line, does not support certain Java-to-Carbon technologies that QuickTime for Java depends on. This change also breaks DropDMG 2.0&rsquo;s MacBinary encoder. JDK 1.3.1 is still installed and available in \/System\/Library\/Frameworks\/JavaVM.framework\/Versions\/1.3.1\/, however I made the mistake of hard-coding [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[371],"class_list":["post-356","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-dropdmg"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":15599,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/356\/revisions\/15599"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}