{"id":2499,"date":"2024-04-30T14:15:36","date_gmt":"2024-04-30T05:15:36","guid":{"rendered":"https:\/\/weblog.hirohiro716.com\/?p=2499"},"modified":"2024-04-30T17:05:29","modified_gmt":"2024-04-30T08:05:29","slug":"vscode%e3%81%a7java%e3%81%ae%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e9%96%8b%e7%99%ba%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/weblog.hirohiro716.com\/?p=2499","title":{"rendered":"vscode\u3067Java\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b"},"content":{"rendered":"<pre class=\"brush: plain; title: \u74b0\u5883; notranslate\" title=\"\u74b0\u5883\">\r\nOS: Debian GNU\/Linux 12 (bookworm)\r\nvscode: 1.88.1\r\n<\/pre>\n<p style=\"margin-top:2em;\">\nJava11\u3067\u7c21\u5358\u306aGUI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b\u76ee\u7684\u3002vscode\u306b\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001maven\u3092\u4f7f\u7528\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmaven\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066mvn\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\r\nMicrosoft\u306e\u62e1\u5f35\u6a5f\u80fd\u300cExtension Pack for Java\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n\u30b3\u30de\u30f3\u30c9\u30d1\u30ec\u30c3\u30c8\u304b\u3089Archetype\u3092\u4f7f\u7528\u305b\u305a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\r\n<\/pre>\n<p style=\"margin-top:2em;\">\n\u4e0b\u8a18\u3092\u53c2\u8003\u306bpom.xml\u3092\u7de8\u96c6\u5f8c\u3001vscode\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30a4\u30c9\u30d0\u30fc\u306eMAVEN\u304b\u3089\u300cmvn package\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u5b9f\u884c\u53ef\u80fdjar\u30d5\u30a1\u30a4\u30eb\u3092\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\r\n&lt;project xmlns=&quot;http:\/\/maven.apache.org\/POM\/4.0.0&quot;\r\n         xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;\r\n         xsi:schemaLocation=&quot;http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/xsd\/maven-4.0.0.xsd&quot;&gt;\r\n    &lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\r\n    &lt;groupId&gt;com.hirohiro716&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;example&lt;\/artifactId&gt;\r\n    &lt;version&gt;latest&lt;\/version&gt;\r\n    &lt;properties&gt;\r\n        &lt;project.build.sourceEncoding&gt;UTF-8&lt;\/project.build.sourceEncoding&gt;\r\n        &lt;maven.compiler.source&gt;11&lt;\/maven.compiler.source&gt;\r\n        &lt;maven.compiler.target&gt;11&lt;\/maven.compiler.target&gt;\r\n    &lt;\/properties&gt;\r\n    &lt;build&gt;\r\n        &lt;finalName&gt;${project.name}&lt;\/finalName&gt;\r\n        &lt;plugins&gt;\r\n            &lt;plugin&gt;\r\n                &lt;groupId&gt;org.apache.maven.plugins&lt;\/groupId&gt;\r\n                &lt;artifactId&gt;maven-jar-plugin&lt;\/artifactId&gt;\r\n                &lt;version&gt;3.2.2&lt;\/version&gt;\r\n                &lt;configuration&gt;\r\n                    &lt;archive&gt;\r\n                        &lt;manifest&gt;\r\n                            &lt;addClasspath&gt;true&lt;\/addClasspath&gt;\r\n                            &lt;mainClass&gt;com.hirohiro716.Example&lt;\/mainClass&gt;\r\n                        &lt;\/manifest&gt;\r\n                    &lt;\/archive&gt;\r\n                &lt;\/configuration&gt;\r\n            &lt;\/plugin&gt;\r\n        &lt;\/plugins&gt;\r\n    &lt;\/build&gt;\r\n&lt;\/project&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>OS: Debian GNU\/Linux 12 (bookworm) vscode: 1.88.1 Java11\u3067\u7c21\u5358\u306aGUI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b\u76ee\u7684\u3002vscode\u306b\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001maven\u3092\u4f7f\u7528\u3057\u3066\u30d7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2499","post","type-post","status-publish","format-standard","hentry","category-java"],"views":1347,"_links":{"self":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2499"}],"version-history":[{"count":10,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2499\/revisions"}],"predecessor-version":[{"id":2509,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2499\/revisions\/2509"}],"wp:attachment":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}