{"id":1340,"date":"2023-12-18T14:37:46","date_gmt":"2023-12-18T07:37:46","guid":{"rendered":"https:\/\/itsci.mju.ac.th\/~watcharin\/wordpress\/?p=1340"},"modified":"2024-09-22T17:53:06","modified_gmt":"2024-09-22T10:53:06","slug":"java-build-tools-in-vs-code","status":"publish","type":"post","link":"https:\/\/itscidev.mju.ac.th\/w\/?p=1340","title":{"rendered":"Java build tools in VS Code"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e20\u0e32\u0e1e\u0e23\u0e27\u0e21\u0e02\u0e2d\u0e07\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e31\u0e1a Java build tools \u0e43\u0e19 Visual Studio Code \u0e42\u0e14\u0e22\u0e08\u0e30\u0e04\u0e23\u0e2d\u0e1a\u0e04\u0e25\u0e38\u0e21\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e2d\u0e07\u0e02\u0e22\u0e32\u0e22 Maven for Java \u0e41\u0e25\u0e30 Gradle for Java \u0e23\u0e27\u0e21\u0e16\u0e36\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d\u0e2d\u0e37\u0e48\u0e19 \u0e46 \u0e14\u0e49\u0e27\u0e22<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Maven<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Maven \u0e40\u0e1b\u0e47\u0e19\u0e0b\u0e2d\u0e1f\u0e15\u0e4c\u0e41\u0e27\u0e23\u0e4c\u0e17\u0e35\u0e48\u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23 Java Project \u0e41\u0e25\u0e30\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e2d\u0e1b\u0e1e\u0e25\u0e34\u0e40\u0e04\u0e0a\u0e31\u0e19\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34 \u0e42\u0e14\u0e22\u0e43\u0e19 Visual Studio Code \u0e08\u0e30\u0e21\u0e35\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e22\u0e32\u0e22 Maven for Java \u0e43\u0e2b\u0e49\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 \u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e01\u0e31\u0e1a Maven Project \u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e02\u0e2d\u0e07 Maven \u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e31\u0e1a Java Project \u0e40\u0e23\u0e32\u0e08\u0e30\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Extension Pack \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Java \u0e0b\u0e36\u0e48\u0e07\u0e21\u0e35\u0e2a\u0e48\u0e27\u0e19\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19 Maven \u0e41\u0e25\u0e30\u0e1f\u0e35\u0e40\u0e08\u0e2d\u0e23\u0e4c\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32 Java \u0e2d\u0e37\u0e48\u0e19\u0e46 \u0e17\u0e35\u0e48\u0e2a\u0e33\u0e04\u0e31\u0e0d \u0e19\u0e31\u0e01\u0e28\u0e36\u0e01\u0e29\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e22\u0e32\u0e22 Extension Pack for Java \u0e14\u0e31\u0e07\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19\u0e23\u0e39\u0e1b<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"966\" height=\"234\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-17.png\" alt=\"\" class=\"wp-image-1342\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-17.png 966w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-17-600x145.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-17-300x73.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-17-768x186.png 768w\" sizes=\"(max-width: 966px) 100vw, 966px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e41\u0e25\u0e30\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e22\u0e32\u0e22 (Extension) Maven for Java \u0e14\u0e31\u0e07\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19\u0e23\u0e39\u0e1b<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"910\" height=\"302\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-20.png\" alt=\"\" class=\"wp-image-1350\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-20.png 910w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-20-600x199.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-20-300x100.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-20-768x255.png 768w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Exploring Maven project<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e23\u0e32\u0e17\u0e33\u0e01\u0e32\u0e23\u0e42\u0e2b\u0e25\u0e14 Maven Project \u0e41\u0e25\u0e49\u0e27 \u0e2a\u0e48\u0e27\u0e19\u0e02\u0e22\u0e32\u0e22\u0e08\u0e30\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e41\u0e25\u0e30\u0e08\u0e30\u0e2a\u0e41\u0e01\u0e19\u0e44\u0e1f\u0e25\u0e4c pom.xml \u0e43\u0e19 workspace \u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34 \u0e41\u0e25\u0e30\u0e41\u0e2a\u0e14\u0e07 Maven Project \u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e42\u0e21\u0e14\u0e39\u0e25\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e42\u0e14\u0e22\u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19\u0e43\u0e19\u0e41\u0e16\u0e1a\u0e14\u0e49\u0e32\u0e19\u0e02\u0e49\u0e32\u0e07<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Maven \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Window<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e17\u0e33\u0e15\u0e32\u0e21\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Apache Maven \u0e1a\u0e19 Windows<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e17\u0e35\u0e48 1: Download Maven Zip File [<a href=\"https:\/\/maven.apache.org\/download.cgi\" target=\"_blank\" rel=\"noreferrer noopener\">download<\/a>] \u0e41\u0e25\u0e30 Extract \u0e42\u0e14\u0e22\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e17\u0e35\u0e48\u0e2b\u0e19\u0e49\u0e32\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14 Maven \u0e41\u0e25\u0e30\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14 Maven \u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 \u0e42\u0e14\u0e22\u0e08\u0e30\u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e44\u0e1b\u0e14\u0e49\u0e27\u0e22\u0e44\u0e1f\u0e25\u0e4c\u0e2b\u0e25\u0e32\u0e22\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19 \u0e43\u0e2b\u0e49\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19\u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"335\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-21-1024x335.png\" alt=\"\" class=\"wp-image-1352\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-21-1024x335.png 1024w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-21-600x196.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-21-300x98.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-21-768x251.png 768w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-21.png 1067w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Maven \u0e08\u0e30\u0e44\u0e21\u0e48\u0e21\u0e35\u0e01\u0e23\u0e30\u0e1a\u0e27\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 \u0e43\u0e2b\u0e49\u0e41\u0e15\u0e01\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e2d\u0e07 Maven \u0e44\u0e1b\u0e22\u0e31\u0e07\u0e44\u0e14\u0e40\u0e23\u0e47\u0e01\u0e17\u0e2d\u0e23\u0e35\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23 \u0e43\u0e19\u0e01\u0e23\u0e13\u0e35\u0e19\u0e35\u0e49\u0e40\u0e23\u0e32\u0e40\u0e23\u0e32\u0e43\u0e0a\u0e49 C:\\Program Files\\Maven\\apache-maven-3.9.6<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"857\" height=\"388\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-22.png\" alt=\"\" class=\"wp-image-1355\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-22.png 857w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-22-600x272.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-22-300x136.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-22-768x348.png 768w\" sizes=\"(max-width: 857px) 100vw, 857px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e17\u0e35\u0e48 2: \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e23\u0e30\u0e1a\u0e1a MAVEN_HOME<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u0e43\u0e19 Task bar \u0e2b\u0e23\u0e37\u0e2d Start menu \u0e43\u0e2b\u0e49\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e04\u0e33\u0e27\u0e48\u0e32 environment variables<\/li>\n\n\n\n<li>\u0e04\u0e25\u0e34\u0e01\u0e44\u0e1b\u0e17\u0e35\u0e48 Edit the system environment variables \u0e08\u0e32\u0e01\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e08\u0e32\u0e01\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e04\u0e49\u0e19\u0e2b\u0e32<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"640\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-24.png\" alt=\"\" class=\"wp-image-1357\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-24.png 800w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-24-600x480.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-24-300x240.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-24-768x614.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. \u0e43\u0e19 <em>Advanced tab<\/em>&nbsp;\u0e02\u0e2d\u0e07&nbsp;<em>System Properties<\/em>&nbsp;window \u0e43\u0e2b\u0e49\u0e04\u0e25\u0e34\u0e01\u0e44\u0e1b\u0e17\u0e35\u0e48&nbsp;<strong>Environment Variables<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"468\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-25.png\" alt=\"\" class=\"wp-image-1358\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-25.png 412w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-25-264x300.png 264w\" sizes=\"(max-width: 412px) 100vw, 412px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4. \u0e04\u0e25\u0e34\u0e01\u0e1b\u0e38\u0e48\u0e21 <strong>New<\/strong>&nbsp;\u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07\u0e02\u0e2d\u0e07&nbsp;<em>System variables<\/em>&nbsp;\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1e\u0e34\u0e48\u0e21 system environment variable \u0e43\u0e2b\u0e21\u0e48<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"618\" height=\"585\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-26.png\" alt=\"\" class=\"wp-image-1359\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-26.png 618w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-26-600x568.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-26-300x284.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">5. \u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e27\u0e48\u0e32 <strong>MAVEN_HOME<\/strong>&nbsp;\u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e0a\u0e37\u0e48\u0e2d variable name \u0e41\u0e25\u0e30 Variable value \u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19 path \u0e02\u0e2d\u0e07 Maven directory  Click&nbsp;<strong>OK<\/strong>&nbsp;to save the new system variable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"653\" height=\"165\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-28.png\" alt=\"\" class=\"wp-image-1362\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-28.png 653w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-28-600x152.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-28-300x76.png 300w\" sizes=\"(max-width: 653px) 100vw, 653px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e17\u0e35\u0e48 3: \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e44\u0e14\u0e40\u0e23\u0e47\u0e01\u0e17\u0e2d\u0e23\u0e35 MAVEN_HOME \u0e43\u0e19\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23 PATH<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. \u0e40\u0e25\u0e37\u0e2d\u0e01&nbsp;<strong>Path<\/strong>&nbsp;variable \u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07\u0e02\u0e2d\u0e07&nbsp;<em>System variables<\/em>&nbsp;\u0e43\u0e19&nbsp;<em>Environment Variables<\/em>&nbsp;window \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e04\u0e25\u0e34\u0e01\u0e1b\u0e38\u0e48\u0e21&nbsp;<strong>Edit<\/strong>&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"618\" height=\"585\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-29.png\" alt=\"\" class=\"wp-image-1363\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-29.png 618w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-29-600x568.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-29-300x284.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2. \u0e04\u0e25\u0e34\u0e01\u0e1b\u0e38\u0e48\u0e21 <strong>New<\/strong>&nbsp;\u0e43\u0e19&nbsp;<em>Edit environment variable<\/em>&nbsp;window<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"527\" height=\"501\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-30.png\" alt=\"\" class=\"wp-image-1364\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-30.png 527w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-30-300x285.png 300w\" sizes=\"(max-width: 527px) 100vw, 527px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. \u0e1e\u0e34\u0e21\u0e1e\u0e4c <strong>%MAVEN_HOME%\\bin<\/strong>&nbsp;\u0e43\u0e19\u0e0a\u0e48\u0e2d\u0e07\u0e27\u0e48\u0e32\u0e07\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e04\u0e25\u0e34\u0e01\u0e1b\u0e38\u0e48\u0e21&nbsp;<strong>OK<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"527\" height=\"501\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-31.png\" alt=\"\" class=\"wp-image-1365\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-31.png 527w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-31-300x285.png 300w\" sizes=\"(max-width: 527px) 100vw, 527px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4. \u0e04\u0e25\u0e34\u0e01\u0e1b\u0e38\u0e48\u0e21 <strong>OK<\/strong>&nbsp;\u0e43\u0e19&nbsp;<em>Environment Variables<\/em>&nbsp;window \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07\u0e43\u0e2b\u0e49\u0e01\u0e31\u0e1a system variables<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"618\" height=\"585\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-32.png\" alt=\"\" class=\"wp-image-1366\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-32.png 618w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-32-600x568.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-32-300x284.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e17\u0e35\u0e48 4: \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Maven<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e43\u0e19 command prompt \u0e43\u0e2b\u0e49\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 \u0e42\u0e14\u0e22\u0e08\u0e30\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e02\u0e2d\u0e07 Maven:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mvn -version<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"324\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-33.png\" alt=\"\" class=\"wp-image-1367\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-33.png 979w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-33-600x199.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-33-300x99.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-33-768x254.png 768w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e1b\u0e23\u0e40\u0e08\u0e47\u0e04 Directory<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e19\u0e31\u0e01\u0e28\u0e36\u0e01\u0e29\u0e32\u0e2a\u0e23\u0e49\u0e32\u0e07 Directory \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e1b\u0e47\u0e19 Java Project \u0e40\u0e0a\u0e48\u0e19 D:\\workspace\\it214\\ex01 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19 download \u0e44\u0e1f\u0e25\u0e4c pom.xml \u0e08\u0e32\u0e01\u0e25\u0e34\u0e07\u0e04\u0e4c\u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07\u0e19\u0e35\u0e49\u0e44\u0e1b\u0e44\u0e27\u0e49\u0e43\u0e19 D:\\workspace\\it214\\ex01<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/itsci.mju.ac.th\/~watcharin\/downloads\/it214\/example\/pom.xml\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/itsci.mju.ac.th\/~watcharin\/downloads\/it214\/example\/pom.xml<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e40\u0e1b\u0e34\u0e14\u0e42\u0e1b\u0e23\u0e40\u0e08\u0e47\u0e04 Directory \u0e44\u0e1b\u0e17\u0e35\u0e48  D:\\workspace\\it214\\ex01 \u0e14\u0e49\u0e27\u0e22 Visual Studio Code<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"243\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-18.png\" alt=\"\" class=\"wp-image-1347\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-18.png 368w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-18-300x198.png 300w\" sizes=\"(max-width: 368px) 100vw, 368px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1010\" height=\"638\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-19.png\" alt=\"\" class=\"wp-image-1348\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-19.png 1010w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-19-600x379.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-19-300x190.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-19-768x485.png 768w\" sizes=\"(max-width: 1010px) 100vw, 1010px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2a\u0e23\u0e49\u0e32\u0e07 Directory &#8220;src\/main&#8221; \u0e41\u0e25\u0e30 &#8220;src\/test&#8221; \u0e43\u0e2b\u0e49\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19 D:\\workspace\\it214\\ex01 (\u0e43\u0e19\u0e01\u0e23\u0e13\u0e35\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e1b\u0e23\u0e40\u0e08\u0e47\u0e04\u0e2d\u0e37\u0e48\u0e19 \u0e46 \u0e01\u0e47\u0e43\u0e2b\u0e49\u0e17\u0e33\u0e40\u0e2b\u0e21\u0e37\u0e2d\u0e19\u0e01\u0e31\u0e19)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e04\u0e49\u0e14 Java \u0e2d\u0e22\u0e48\u0e32\u0e07\u0e07\u0e48\u0e32\u0e22\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2a\u0e23\u0e49\u0e32\u0e07 Directory \u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49 &#8220;org\/itsci&#8221; \u0e43\u0e19 &#8220;..\/src\/main&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"272\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-34.png\" alt=\"\" class=\"wp-image-1370\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-34.png 473w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-34-300x173.png 300w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e0a\u0e37\u0e48\u0e2d App.java \u0e43\u0e19 Directory \u0e14\u0e31\u0e07\u0e41\u0e2a\u0e14\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"298\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-35.png\" alt=\"\" class=\"wp-image-1371\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-35.png 935w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-35-600x191.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-35-300x96.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-35-768x245.png 768w\" sizes=\"(max-width: 935px) 100vw, 935px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e04\u0e25\u0e32\u0e2a App \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e42\u0e04\u0e49\u0e14\u0e14\u0e31\u0e07\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19\u0e23\u0e39\u0e1b\u0e14\u0e49\u0e32\u0e19\u0e1a\u0e19 \u0e41\u0e25\u0e30\u0e23\u0e31\u0e19\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e42\u0e14\u0e22\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21\u0e23\u0e31\u0e19\u0e14\u0e31\u0e07\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19\u0e23\u0e39\u0e1b\u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1010\" height=\"638\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2023\/12\/image-36.png\" alt=\"\" class=\"wp-image-1372\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-36.png 1010w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-36-600x379.png 600w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-36-300x190.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2023\/12\/image-36-768x485.png 768w\" sizes=\"(max-width: 1010px) 100vw, 1010px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Hello, World!!<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e20\u0e32\u0e1e\u0e23\u0e27\u0e21\u0e02\u0e2d\u0e07\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e31\u0e1a Java build tools \u0e43\u0e19 Visual Studio Code \u0e42\u0e14\u0e22\u0e08\u0e30\u0e04\u0e23\u0e2d\u0e1a\u0e04\u0e25\u0e38\u0e21\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e2d\u0e07\u0e02\u0e22\u0e32\u0e22 Maven for Java \u0e41\u0e25\u0e30 Gradle for Java \u0e23\u0e27\u0e21\u0e16\u0e36\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d\u0e2d\u0e37\u0e48\u0e19 \u0e46 \u0e14\u0e49\u0e27\u0e22 Maven Maven \u0e40\u0e1b\u0e47\u0e19\u0e0b\u0e2d\u0e1f\u0e15\u0e4c\u0e41\u0e27\u0e23\u0e4c\u0e17\u0e35\u0e48\u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23 Java Project \u0e41\u0e25\u0e30\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e2d\u0e1b\u0e1e\u0e25\u0e34\u0e40\u0e04\u0e0a\u0e31\u0e19\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34 \u0e42\u0e14\u0e22\u0e43\u0e19 Visual Studio Code \u0e08\u0e30\u0e21\u0e35\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e22\u0e32\u0e22 Maven for Java \u0e43\u0e2b\u0e49\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 \u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e01\u0e31\u0e1a Maven Project \u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e02\u0e2d\u0e07 Maven \u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e31\u0e1a Java Project \u0e40\u0e23\u0e32\u0e08\u0e30\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Extension Pack \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Java \u0e0b\u0e36\u0e48\u0e07\u0e21\u0e35\u0e2a\u0e48\u0e27\u0e19\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19 Maven \u0e41\u0e25\u0e30\u0e1f\u0e35\u0e40\u0e08\u0e2d\u0e23\u0e4c\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32 Java \u0e2d\u0e37\u0e48\u0e19\u0e46 \u0e17\u0e35\u0e48\u0e2a\u0e33\u0e04\u0e31\u0e0d [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1592,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[73,35,34],"education":[72,59],"class_list":["post-1340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-problem-solution","tag-how-to-guides","tag-ide","tag-vscode","education-72","education-itsci"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":7}},"_links":{"self":[{"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/posts\/1340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1340"}],"version-history":[{"count":15,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/posts\/1340\/revisions"}],"predecessor-version":[{"id":1582,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/posts\/1340\/revisions\/1582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/media\/1592"}],"wp:attachment":[{"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1340"},{"taxonomy":"education","embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Feducation&post=1340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}