{"id":16,"date":"2020-10-12T10:13:41","date_gmt":"2020-10-12T01:13:41","guid":{"rendered":"https:\/\/centos.ihavenomoney.co.kr\/?page_id=16"},"modified":"2024-09-23T16:23:16","modified_gmt":"2024-09-23T07:23:16","slug":"java-jsp-%ec%84%a4%ec%b9%98","status":"publish","type":"page","link":"https:\/\/centos.ihavenomoney.co.kr\/?page_id=16","title":{"rendered":"JAVA \uc124\uce58"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">JAVA \uc124\uce58 \ubc84\uc804\ubcc4 \uc124\uce58<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Remark:<\/h3>\n\n\n\n<p>CentOS \uc5d0\uc11c JAVA \ud544\uc694\ud55c \ubc84\uc804\uc73c\ub85c \uc124\uce58 \ud574 \ubcf4\uc790.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">java version 11<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">1. Install OpenJDK 11 JDK <\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># sudo yum install java-11-openjdk-devel<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. Install OpenJDK 11 JRE <\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># sudo yum install java-11-openjdk<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">java version 8<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">1. Install OpenJDK 8 JDK <\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># sudo yum install java-1.8.0-openjdk-devel<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. Install OpenJDK 8 JRE <\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># sudo yum install java-1.8.0-openjdk<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">java -version<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># java -version<br>openjdk version \"11.0.3\" 2019-04-16 LTS<br>OpenJDK Runtime Environment 18.9 (build 11.0.3+7-LTS)<br>OpenJDK 64-Bit Server VM 18.9 (build 11.0.3+7-LTS, mixed mode, sharing)<br><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">java -version \ubcc0\uacbd<\/h3>\n\n\n\n<p>\uba3c\uc800, \uc2dc\uc2a4\ud15c\uc5d0 \uc124\uce58\ub41c JDK \ubc84\uc804\ub4e4\uc744 \ud655\uc778\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" >sudo alternatives --config java<\/pre><\/div>\n\n\n\n<p>\uc774 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uba74, \uc124\uce58\ub41c Java \ubc84\uc804 \ubaa9\ub85d\uc774 \ud45c\uc2dc\ub418\uace0, \ud604\uc7ac \ud65c\uc131\ud654\ub41c \ubc84\uc804\uc774 \ud45c\uc2dc\ub429\ub2c8\ub2e4. \uc608\uc2dc \ucd9c\ub825\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" >There are 3 programs which provide 'java'.\n\n  Selection    Command\n-----------------------------------------------\n*+ 1           \/usr\/lib\/jvm\/java-11-openjdk\/bin\/java\n   2           \/usr\/lib\/jvm\/java-8-openjdk\/bin\/java\n   3           \/usr\/lib\/jvm\/java-17-openjdk\/bin\/java\n\nEnter to keep the current selection[+], or type selection number: <\/pre><\/div>\n\n\n\n<p>CentOS\uc5d0\uc11c JDK\ub97c \uc7ac\uc2dc\uc791\ud558\ub294 \uba85\ub839\uc5b4\ub294 \uc5c6\uc2b5\ub2c8\ub2e4. JDK(Java Development Kit)\ub294 \ub2e8\uc21c\ud788 \uc790\ubc14 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2e4\ud589\ud558\uae30 \uc704\ud55c \uac1c\ubc1c \ub3c4\uad6c\uc77c \ubfd0\uc774\uba70, \uc790\uccb4\uc801\uc73c\ub85c \uc11c\ube44\uc2a4\ucc98\ub7fc \uc2e4\ud589\ub418\uac70\ub098 \uc7ac\uc2dc\uc791\ub418\ub294 \uac1c\ub150\uc774 \uc544\ub2d9\ub2c8\ub2e4. \ub2e4\ub9cc, JDK\ub85c \uc2e4\ud589 \uc911\uc778 \uc790\ubc14 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub610\ub294 \uad00\ub828\ub41c \uc11c\ube44\uc2a4\ub97c \uc7ac\uc2dc\uc791\ud574\uc57c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JAVA \uc124\uce58 \ubc84\uc804\ubcc4 \uc124\uce58 Remark: CentOS \uc5d0\uc11c JAVA \ud544\uc694\ud55c \ubc84\uc804\uc73c\ub85c \uc124\uce58 \ud574 \ubcf4\uc790. java version 11 1. Install OpenJDK 11 JDK # sudo yum install java-11-openjdk-devel 2. Install OpenJDK 11 JRE # sudo yum install java-11-openjdk java version 8 1. Install OpenJDK 8 JDK # sudo yum install java-1.8.0-openjdk-devel 2. Install OpenJDK 8 JRE # &hellip;<br \/><a href=\"https:\/\/centos.ihavenomoney.co.kr\/?page_id=16\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\"><span class=\"screen-reader-text\">JAVA \uc124\uce58<\/span> \ub354\ubcf4\uae30<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-16","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":5,"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/16\/revisions"}],"predecessor-version":[{"id":624,"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/16\/revisions\/624"}],"wp:attachment":[{"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}