{"id":426330,"date":"2021-04-05T01:40:37","date_gmt":"2021-04-04T17:40:37","guid":{"rendered":"http:\/\/4563.org\/?p=426330"},"modified":"2021-04-05T01:40:37","modified_gmt":"2021-04-04T17:40:37","slug":"%e8%af%b7%e6%95%99%e9%ab%98%e6%89%8b%ef%bc%8c-android-%e5%af%b9-jvm-%e7%94%9f%e6%80%81%e5%9c%88%e7%9a%84%e5%85%bc%e5%ae%b9%e6%9e%81%e9%99%90%e5%9c%a8%e5%93%aa%e9%87%8c%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=426330","title":{"rendered":"\u8bf7\u6559\u9ad8\u624b\uff0c Android \u5bf9 JVM \u751f\u6001\u5708\u7684\u517c\u5bb9\u6781\u9650\u5728\u54ea\u91cc\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u9ad8\u624b\uff0c Android \u5bf9 JVM \u751f\u6001\u5708\u7684\u517c\u5bb9\u6781\u9650\u5728\u54ea\u91cc\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : abcbuzhiming <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u6700\u8fd1\u624d\u610f\u8bc6\u5230\uff0c\u5b9e\u9645\u4e0a\u5f53\u5e74 Google \u4ec5\u4ec5\u662f\u628a Java \u7684 api \u63a5\u53e3\u642c\u4e86\u8fc7\u6765\uff0c\u63a5\u53e3\u4e0b\u9762\u7684\u4ee3\u7801\u5b8c\u5168\u91cd\u65b0\u5199\u4e86\u4e00\u904d\uff0c\u865a\u62df\u673a\u4e5f\u662f\u5b8c\u5168\u81ea\u5df1\u5b9e\u73b0\u3002\u8fd9\u6837\u7684\u4e1c\u897f\u4ece\u6807\u51c6\u6765\u8bf4\u5e94\u8be5\u4e0d\u80fd\u7b97 JDK\uff0c\u672c\u8d28\u5176\u5b9e\u662f\u8bed\u6cd5\u50cf java \u8bed\u8a00\u7684\u5168\u65b0\u8bed\u8a00\u3002\u5728\u5f53\u65f6\u786e\u5b9e\u53ef\u4ee5\u628a java \u751f\u6001\u5708\u91cc\u7684\u5f88\u591a\u4e1c\u897f\uff0c\u76f4\u63a5\u62ff\u6765\u7528\u3002<\/p>\n<p>\u4f46\u662f\uff0c\u6211\u7684\u7591\u60d1\u662f\uff0c\u8fd9\u6837\u7684\u5b9e\u73b0\uff0c\u5b83\u7684\u6280\u672f\u6781\u9650\u5728\u54ea\u91cc\uff0cGoogle \u662f\u5426\u771f\u7684\u505a\u5230\u4e86\u4e8c\u8fdb\u5236\u7ea7\u522b\u7684\u517c\u5bb9\uff1f      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>12<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5722267\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guyeu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u663e\u7136\u6ca1\u6709\uff0c\u8bed\u6cd5\u5c42\u9762\u7684\u517c\u5bb9\u90fd\u6ca1\u6709\u505a\u5230\uff0c\u6240\u4ee5\u5f88\u591a\u5e93\u4f1a\u540c\u65f6\u6709 jre \u7248\u672c\u548c android \u7248\u672c\u3002\u53e6\u5916\uff0cGoogle \u4e5f\u590d\u7528\u4e86\u4e00\u5927\u5806 JDK \u7684\u539f\u59cb\u4ee3\u7801\uff0c\u540e\u6765\u56e0\u4e3a\u5b98\u53f8\u95ee\u9898\u90fd\u66ff\u6362\u6210\u4e86\u81ea\u5df1\u7684\u5b9e\u73b0\u800c\u5df2\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722268\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : abcbuzhiming <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @guyeu \u80fd\u4e0d\u80fd\u4e3e\u4e2a\u540c\u65f6\u6709 jre \u7248\u672c\u548c\u5b89\u5353\u7248\u672c\u5e93\u7684\u4f8b\u5b50                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722269\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guyeu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @abcbuzhiming #2 \u6700\u8457\u540d\u7684\u5927\u6982\u5c31\u662f guava \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722270\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iminto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @guyeu \u8fd9\u4e2a\u4f8b\u5b50\u4e0d\u5e94\u8be5\u88ab\u8ba4\u4e3a\u662f API \u4e0d\u517c\u5bb9\u5bfc\u81f4\uff0c\u5b83\u7684\u5b89\u5353\u7248\u672c\u662f\u505a\u4e86\u5185\u5b58\u65b9\u9762\u7684\u4f18\u5316\u548c\u7f16\u7801\u98ce\u683c\u7684\u6539\u53d8\uff0c\u867d\u7136\u67d0\u4e9b API \u786e\u5b9e\u8f93\u51fa\u4e0a\u6709\u4e0d\u540c\uff0c\u4f46\u662f android \u5728\u8bed\u6cd5\u5c42\u9762\u5e94\u8be5\u8ba4\u4e3a\u662f\u517c\u5bb9\u67d0\u4e2a\u7279\u5b9a JRE \u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722271\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ychost <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Guava \u8fd8\u597d\uff0c\u540e\u9762 JDK \u90fd\u501f\u9274\u4e86\u76f8\u5173 api \u6bd4\u5982 Optional\uff0cFuture \u4e4b\u7c7b\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722272\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wobuhuicode <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u8bb0\u5f97 12 \u5e74\u521a\u5b66\u5b89\u5353 2.X \u5f00\u53d1\u7684\u65f6\u5019\uff0c\u5f88\u591a\u5e95\u5c42\u5c31\u662f JDK \u7684\uff0c\u597d\u50cf\u5b89\u5353 4.4 \u4e4b\u540e\u624d\u5168\u90e8\u6362\u8fc7\u6765\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722273\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bigbyto <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e94\u8be5\u662f\u53d6\u51b3\u4e8e android \u7684\u865a\u62df\u673a\u3002 \u5f88\u4e45\u6ca1\u63a5\u89e6\u5b89\u5353\uff0c\u50cf\u65e9\u671f\u7684 dalvik \u865a\u62df\u673a\uff0cdex \u662f\u7531 jvm bytecode(class \u6587\u4ef6)\u8f6c\u8bd1\u8fc7\u53bb\u7684\uff0c\u56e0\u6b64\u4e00\u4e9b\u65b0\u7684 jvm \u7279\u6027(\u5982 invokedynamic \u6307\u4ee4)\u9700\u8981\u7b49\u5f85\u5b89\u5353\u7684\u865a\u62df\u673a\u8fdb\u884c\u517c\u5bb9\uff0c\u624d\u80fd\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528 lambda \u8868\u8fbe\u5f0f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722274\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guyeu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @iminto #4 \u7684\u786e\uff0cguava \u7684 android \u548c jre \u7248\u672c\u66f4\u591a\u5728\u4e8e\u7f16\u7801\u98ce\u683c\u548c\u7279\u5b9a\u4e8e android \u7684\u4f18\u5316\u3002android \u5728\u7f16\u5199\u548c\u7f16\u8bd1\u7684\u5c42\u9762\u4e5f\u517c\u5bb9\u67d0\u4e00\u4e2a\u7279\u5b9a\u7684 java \u7248\u672c\uff0c\u53ef\u4ee5\u8bf4\u5408\u6cd5\u7684 java \u4ee3\u7801\u5c31\u662f\u5408\u6cd5\u7684 android \u4ee3\u7801\u3002\u4e0d\u540c\u7684\u662f\u8fd0\u884c\u65f6\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722275\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cjh1095358798 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             android \u7b26\u5408 jvm \u89c4\u8303                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722276\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ikas <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             android \u5c31\u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u5e73\u53f0,\u672c\u8eab\u4e5f\u662f\u4e8b\u5b9e\u5206\u88c2\u4e86 java \u751f\u6001,\u5e76\u4e14 android \u7684\u865a\u62df\u673a\u4e0d\u7b26\u5408 jvm \u89c4\u8303,\u5b89\u5353\u8dd1\u7684\u662f dex,jvm \u8dd1\u7684\u662f class, java \u4ee3\u7801\u662f\u5148\u7f16\u8bd1\u6210 class,\u7136\u540e\u518d\u8f6c\u6362\u6210 dex.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722277\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ikas <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7f6e\u4e8e\u517c\u5bb9,\u4ed6\u6839\u672c\u4e0d\u9700\u8981\u7b26\u5408 jvm,\u540c\u6837\u4e5f\u4e0d\u9700\u8981\u53bb\u5b8c\u6574\u517c\u5bb9,\u4e8b\u5b9e\u4e5f\u662f,\u4ed6\u73b0\u5728 java8 \u517c\u5bb9\u5b8c\u6574\u4e86\u5417?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722278\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenyu8674 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             java \u7a0b\u5e8f\u5458\u968f\u4fbf\u5b66\u4e24\u4e0b\u5c31\u53ef\u4ee5\u53bb\u5199 Android\uff0c\u7b97\u4e0d\u7b97\u53e6\u4e00\u79cd\u5f62\u5f0f\u7684\u201c\u517c\u5bb9\u201d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u9ad8\u624b\uff0c Android \u5bf9 J&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426330"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=426330"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426330\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426330"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}