{"id":126310,"date":"2020-05-10T05:19:17","date_gmt":"2020-05-09T21:19:17","guid":{"rendered":"http:\/\/4563.org\/?p=126310"},"modified":"2020-05-10T05:19:17","modified_gmt":"2020-05-09T21:19:17","slug":"%e8%af%b7%e6%95%99%e5%85%b3%e4%ba%8e-java-%e6%89%93%e5%8c%85-exe-%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=126310","title":{"rendered":"\u8bf7\u6559\u5173\u4e8e Java \u6253\u5305 exe \u7684\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u5173\u4e8e Java \u6253\u5305 exe \u7684\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lasuar <\/span>  <span><i><\/i> 8<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>:\u8feb\u4e8e\u4e4b\u524d\u53d1\u7684\u8282\u70b9\u66dd\u5149\u91cf\u592a\u5c11\uff0c\u91cd\u65b0\u53d1\u4e00\u8d34\u3002<\/p>\n<h3>\u539f\u8d34<\/h3>\n<p>\u6211\u4e86\u89e3\u5230\u7684 Java \u662f\u53ef\u4ee5\u50cf Python \u63d0\u524d\u6253\u5305\u6210 exe \u6587\u4ef6\u7684\uff0c\u4ece\u800c\u505a\u5230\u8fd0\u884c\u65f6\u4e0d\u9700\u8981\u89e3\u91ca\u5668\uff0c\u800c\u4e14\u4e8c\u8fdb\u5236\u6587\u4ef6\u6267\u884c\u901f\u5ea6\u6211\u60f3\u4e5f\u662f\u8981\u5feb\u4e8e\u89e3\u91ca\u6267\u884c\u7684\uff0c\u90a3\u4e48\u4e3a\u4ec0\u4e48\u8fd9\u4e0d\u662f\u4e00\u79cd\u5e38\u89c1\u64cd\u4f5c\u5462\uff0c\u800c\u662f\u5728\u8fd0\u884c\u65f6\u4f7f\u7528 Jvm\uff0cPython \u4e5f\u662f\u901a\u8fc7 Python \u89e3\u91ca\u5668\u542f\u52a8\uff1f \u8fd9\u5176\u4e2d\u7684\u6839\u672c\u539f\u56e0\u662f\u4ec0\u4e48\u5462\uff1f<\/p>\n<p><strong>\u9644<\/strong>\uff1a\u6211\u4ece\u7f51\u4e0a\u4e00\u4e9b\u8d44\u6599\u4e0a\u67e5\u5230\u7b80\u660e\u7684\u89e3\u91ca\u662f\uff1a \u76f4\u63a5\u6253\u5305 Java \u6216 Python \u4ee3\u7801\u5230 exe \u6587\u4ef6\uff0c\u5176\u5b9e\u6ca1\u80fd\u6539\u53d8\u4ec0\u4e48\uff0c\u5f97\u5230\u7684 exe \u6587\u4ef6\u5927\u5c0f\u4f1a\u975e\u5e38\u5927\uff08\u76f8\u5bf9\u4e8e\u7f16\u5199\u7684\u6e90\u4ee3\u7801\uff09\uff0c\u56e0\u4e3a\u5b83\u628a\u8bed\u8a00\u7684\u89e3\u91ca\u5668\u90e8\u5206\u4e5f\u7ed9\u6253\u5305\u8fdb\u53bb\u4e86\uff0c\u6700\u7ec8\u8fd0\u884c\u8fc7\u7a0b\u548c\u901a\u8fc7\u89e3\u91ca\u5668\u8fd0\u884c\u6ca1\u6709\u4e24\u6837\uff08\u901f\u5ea6\u6ca1\u6709\u591a\u5927\u63d0\u5347\uff09\uff0c\u8fd9\u6837\u8fd8\u6253\u5305 exe \u5c31\u6ca1\u4ec0\u4e48\u76ca\u5904\u4e86\u3002<\/p>\n<p>\u4e5f\u8bf7\u5404\u4f4d\u56de\u590d\u524d\u4e5f\u7a0d\u4f5c\u601d\u8003\u4e00\u4e0b\uff0c\u8c22\u8c22~<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>13<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2010644\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : autoname <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/www.v2ex.com\/t\/679340                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010645\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cheng6563 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Java \u53ef\u4ee5\u9759\u6001\u7f16\u8bd1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010646\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : senninha <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u975e\u7801\u519c\u670b\u53cb\u8ba9\u4f60\u5e2e\u5fd9\u5199\u4e2a\u5c0f\u5de5\u5177\uff0c\u4e22\u4e2a jar \u65b9\u4fbf\uff0c\u8fd8\u662f\u76f4\u63a5\u4e22\u4e00\u4e2a exe \u65b9\u4fbf\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010647\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u7f16\u8bd1\u6210\u673a\u5668\u5185\u7801\u3002<\/p>\n<p>\u6bd4\u5982\uff0chttps:\/\/quarkus.io\/blog\/native-command-mode-tools\/ <\/p>\n<p>Quarkus \u6700\u521d\u53ef\u80fd\u90fd\u662f\u5173\u6ce8\u5728 Web \u5f00\u53d1\uff0c\u73b0\u5728 Command Mode \u652f\u6301\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u501f\u52a9\u5b83\u7f16\u8bd1\u6210 Graavl \u5185\u7801\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010648\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyWie <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u822c\u6765\u8bf4 java \u6253\u6210 exe \u4e0d\u662f\u771f\u6b63\u610f\u4e49\u4e0a\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u6267\u884c\uff0c\u800c\u662f\u4e00\u4e2a exe \u58f3\uff0c\u91cc\u9762\u8fd8\u662f\u6709 jre\uff0c\u7528 jre \u6765\u8fd0\u884c\u7684 java\uff0c\u6240\u4ee5\u4f53\u79ef\u4f1a\u975e\u5e38\u5927\u3002<br \/>\u73b0\u5728 oracle \u6709\u4e00\u4e2a\u53eb GraalVM \u7684\u4e1c\u897f\uff0c\u652f\u6301 AOT \u7f16\u8bd1\uff0c\u8fd9\u624d\u662f\u771f\u6b63\u7684\u9759\u6001\u7f16\u8bd1\uff0c\u53ef\u4ee5\u8bd5\u8bd5\u770b\uff1a https:\/\/www.graalvm.org\/getting-started\/#native-images                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010649\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lasuar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy <br \/>@monkeyWie <br \/>\u611f\u8c22\u56de\u590d\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010650\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lasuar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @senninha \u8fd9\u7b97\u662f\u4e00\u4e2a\u5f88\u5c0f\u7684\u4f18\u52bf\u5427 \ud83d\ude42                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010651\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lqw3030 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u90fd\u628a jdk \u6253\u7ed9\u670b\u53cb\uff0c\u767e\u6765\u5146\uff0c\u8ba9 java \u5728\u670b\u53cb\u7535\u8111\u4e0a\u53d1\u5149\u53d1\u70ed                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010652\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : penguinWWY <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             SubstrateVM<br \/>\u4e00\u822c java \u7684 AOT \u90fd\u662f\u4e3a\u4e86\u964d\u4f4e\u542f\u52a8\u65f6\u95f4\uff0c\u800c\u4e14\u6253\u51fa\u6765\u7684 binary \u4f1a\u975e\u5e38\u5927                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010653\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fanchangyong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f1a\u635f\u5931\u4e86\u8de8\u5e73\u53f0\u7684\u7279\u6027\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010654\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lasuar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @fanchangyong \u8fd0\u884c\u73af\u5883\uff08 jre \u3001jdk \uff09\u4e5f\u4f1a\u6253\u5305\u8fdb\u53bb\uff0c\u6240\u4ee5\u8de8\u5e73\u53f0\u6ca1\u6709\u95ee\u9898\uff0c\u4e3b\u8981\u7684\u95ee\u9898\u662f\u5373\u4f7f\u4ee3\u7801\u6253\u5305 exe \u4e5f\u662f\u5305\u542b\u4e86\u89e3\u91ca\u5668\u7684\uff0c\u6574\u4e2a\u8fd0\u884c\u901f\u7387\u6ca1\u6709\u63d0\u9ad8\uff0c\u5c31\u5982\u540c\u6807\u9898\u6240\u8bf4\uff0c\u60f3\u6765 Python \u4e5f\u662f\u4e00\u6837\u7684\u539f\u7406\uff0c\u6211\u7684\u95ee\u9898\u5df2\u7ecf\u6709\u7b54\u6848\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010655\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : albertofwb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             java python \u8fd9\u4e24\u79cd\u8bed\u8a00\u4ece\u8bbe\u8ba1\u4e0a\u5c31\u662f\u901a\u8fc7\u865a\u62df\u673a\uff08\u89e3\u91ca\u5668\uff09\u8fd0\u884c\u7684 \u6240\u8c13\u7684\u7f16\u8bd1\uff0c\u5c31\u662f\u5c06\u4ee3\u7801\u7ffb\u8bd1\u4e3a\u89e3\u91ca\u5668\u53ef\u4ee5\u8bc6\u522b\u7684\u683c\u5f0f\uff08\u5b57\u8282\u7801\uff09 <br \/>\u56e0\u6b64\uff0c\u6240\u6709\u7684\u9488\u5bf9\u8fd9\u4e24\u79cd\u8bed\u8a00\u7684\u6253\u5305\uff0c\u4e5f\u90fd\u662f\u56f4\u7ed5\u7740\u89e3\u91ca\u5668\u5c55\u5f00\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2010656\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qwerthhusn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u77e5\u9053\u73b0\u5728\u6bd4\u8f83\u706b\u7684 GraalVM \u80fd\u4e0d\u80fd\u8fbe\u5230\u6548                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u5173\u4e8e Java \u6253\u5305 exe &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\/126310"}],"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=126310"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/126310\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=126310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=126310"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=126310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}