{"id":110,"date":"2023-02-18T09:59:23","date_gmt":"2023-02-18T01:59:23","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=110"},"modified":"2023-02-18T10:00:15","modified_gmt":"2023-02-18T02:00:15","slug":"java-console-include-jar","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/18\/java-console-include-jar\/","title":{"rendered":"Java \u547d\u4ee4\u884c\u5f15\u7528jar\u5305\u7684\u65b9\u6cd5"},"content":{"rendered":"<h2>\u7f16\u8bd1<\/h2>\n<p>\u5728src\u76ee\u5f55\u4e0b\uff1a<\/p>\n<pre><code class=\"language-bash\">javac -cp C:\/workspace\/myproject\/libs\/mysql-connector-java-5.1.31-bin.jar cn.appblog.TCPServer<\/code><\/pre>\n<p><!-- more --><\/p>\n<h2>\u8fd0\u884c<\/h2>\n<p>\u5728\u4efb\u610f\u76ee\u5f55\u4e0b\uff1a<\/p>\n<pre><code class=\"language-bash\">java -classpath C:\/workspace\/myproject\/libs\/mysql-connector-java-5.1.31-bin.jar;C:\/workspace\/myproject\/libs\/dom4j.jar;C:\/workspace\/myproject\/bin cn.appblog.TCPServer<\/code><\/pre>\n<blockquote>\n<p>\u6ce8\u610f\uff1aC:\/workspace\/myproject\/bin \u662f class \u6240\u5728\u7684\u4e3b\u76ee\u5f55\uff0c\u8fd0\u884c\u65f6\u5fc5\u987b\u5305\u62ec\u3002<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u7f16\u8bd1 \u5728src\u76ee\u5f55\u4e0b\uff1a javac -cp C:\/workspace\/myproject\/libs\/mysql [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-110","post","type-post","status-publish","format-standard","hentry","category-java-basic"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=110"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/110\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}