{"id":297,"date":"2011-12-15T00:09:57","date_gmt":"2011-12-15T00:09:57","guid":{"rendered":"http:\/\/brain.dailyon.net\/?p=297"},"modified":"2011-12-15T00:09:57","modified_gmt":"2011-12-15T00:09:57","slug":"ubuntu-jdk-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/blog.goorigo.com\/?p=297","title":{"rendered":"ubuntu : jdk \uc124\uce58"},"content":{"rendered":"<div><a href=\"http:\/\/java.sun.com\/\" target=\"_blank\"><span style=\"font-size: x-small\">http:\/\/java.sun.com<\/span><\/a><span style=\"font-size: x-small\"> \uc5d0\uc11c \ucd5c\uc2e0\uc758 jdk \ub97c \ub2e4\uc6b4\ubc1b\ub294\ub2e4.<\/span><\/div>\n<div>\ub9ac\ub205\uc2a4\uc6a9 \ud30c\uc77c\uc778?Linux RPM in self-extraction file \uc778 jdk-6-linux-i586-rpm.bin \uc744 \ub2e4\uc6b4!!!<\/div>\n<div><span style=\"font-size: x-small\">\/usr\/local\/src \ub514\ub809\ud1a0\ub9ac\uc5d0 \ub2e4\uc6b4\ubc1b\uc740 \ud30c\uc77c\uc744 \uc62e\uaca8\ub123\uace0<\/span><\/div>\n<div>#chmod 755 jdk-6-linux-i586-rpm.bin<\/div>\n<div>#.\/jdk-6-linux-i586-rpm.bin<\/div>\n<div>\uc744 \ud558\uace0 \ub098\uba74 license\uc5d0 \ub300\ud55c \uae00\uc774 \ub098\uc624\uace0 \uc5d4\ud130\ud0a4\ub97c \ub204\ub974\uba74\uc11c<\/div>\n<div>\ub9e8 \ubc11\uc73c\ub85c \ub0b4\ub9ac\uace0 \ub09c\ud6c4 yes\ub77c\uace0 \uc785\ub825.. \uadf8\ub9ac\uace0 \uc5d4\ud130\ud558\uba74 \uc124\uce58 \ub05d!!!<\/div>\n<div>\uc124\uce58\uc644\ub8cc\ud6c4 java\uc758 \uc124\uce58 \uc704\uce58\ub294 \/usr\/java \ub85c ?\ub418\uc5b4 \uc788\uc744 \uac83\uc774\ub2e4.<\/div>\n<div>\uc704\uce58\ub97c \ubaa8\ub97c\uacbd\uc6b0 \ucd5c\uc0c1\uc704(root)\uc5d0\uc11c find . -name jdk* -print \ub85c \ucc3e\uc73c\uba74 \ub41c\ub2e4<\/div>\n<div>\uc124\uce58\uac00 \ub05d\ub098\uba74 path\ub97c \uc7a1\uc544\uc918\uc57c \ud558\ub294\ub370<\/div>\n<div>\ub85c\uadf8\uc778\uc774 \uc548\ub420 \uc218 \uc788\uc73c\ub2c8 \uc548\uc804\uc744 \uc704\ud574 \ud130\ubbf8\ub110 \ucc3d\uc744 \ud558\ub098 \ub354 \ub744\uc6cc\ub193\uace0 \uc791\uc5c5\ud55c\ub2e4.<\/div>\n<div>#vi \/etc\/profile<\/div>\n<div>\ub9e8 \ubc11\uc5d0 \ucd94\uac00<\/div>\n<div>JAVA_HOME=\/usr\/java<\/div>\n<div>export JAVA_HOME<\/div>\n<div>PATH=$PATH:$JAVA_HOME\/bin<\/div>\n<div>CLASSPATH=$CLASSPATH:$JAVA_HOME\/lib<\/div>\n<div>\uc774\ub807\uac8c \ucd94\uac00\ud55c\ud6c4 \uc800\uc7a5<\/div>\n<div>\uadf8\ub9ac\uace0<\/div>\n<div>#source \/etc\/profile<\/div>\n<div>#java<\/div>\n<div>#javac<\/div>\n<div>\uc2e4\ud589\ud574\uc11c \uba85\ub839\uc5b4 \uc635\uc158\uc774 \uc81c\ub300\ub85c \ub098\uc624\ub294\uc9c0 \ud655\uc778!<\/div>\n<div>http:\/\/hongpang.tistory.com\/16<\/div>\n<div>\ud1b0\ucea3 \uc124\uce58 : http:\/\/blog.jidolstar.com\/70<\/div>\n<div>\nhttp:\/\/sun.java.com \uc5d0\uc11c Linux \uc6a9 jdk \ub610\ub294 jre\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ubc1b\ub294\ub2e4.<\/p>\n<p>\ud30c\uc77c\uc124\uce58<\/p>\n<p>[root@ihelpers src]# chmod 755 jdk-6-linux-i586.bin<br \/>\n[root@ihelpers src]# .\/jdk-6-linux-i586.bin<br \/>\n[root@ihelpers src]# mv jdk1.6.0 \/usr\/local\/jdk1.6.0<\/p>\n<p>\ud658\uacbd\uc124\uc815<\/p>\n<p>[root@ihelpers src]# vi \/etc\/profile<\/p>\n<p>PATH=&#8221;$PATH:\/usr\/local\/jdk1.6.0\/bin&#8221;<br \/>\nexport JAVA_HOME=&#8221;\/usr\/local\/jdk1.6.0\/bin&#8221;<br \/>\nexport JRE_HOME=&#8221;\/usr\/java\/jdk1.6.0_21\/jre&#8221;<br \/>\nexport CLASSPATH=.:\/usr\/local\/jdk1.6.0\/jre\/lib<\/p>\n<p>[root@ihelpers src]# source \/etc\/profile<br \/>\n[root@ihelpers src]# echo $PATH<br \/>\n[root@ihelpers src]# echo $CLASSPATH<\/p><\/div>\n<div>http:\/\/sweetyuria.blogspot.com\/2010\/11\/ubuntu-jdk.html<\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/java.sun.com \uc5d0\uc11c \ucd5c\uc2e0\uc758 jdk \ub97c \ub2e4\uc6b4\ubc1b\ub294\ub2e4. \ub9ac\ub205\uc2a4\uc6a9 \ud30c\uc77c\uc778?Linux RPM in self-extraction file \uc778 jdk-6-linux-i586-rpm.bin \uc744 \ub2e4\uc6b4!!! \/usr\/local\/src \ub514\ub809\ud1a0\ub9ac\uc5d0 \ub2e4\uc6b4\ubc1b\uc740 \ud30c\uc77c\uc744 \uc62e\uaca8\ub123\uace0 #chmod 755 jdk-6-linux-i586-rpm.bin #.\/jdk-6-linux-i586-rpm.bin \uc744 \ud558\uace0 \ub098\uba74 license\uc5d0 \ub300\ud55c&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts\/297"}],"collection":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=297"}],"version-history":[{"count":0,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts\/297\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}