°Ô½Ã¹° 260°Ç
   
[redhat6.5] sun java ¼³Ä¡ 2 [path profile]
±Û¾´ÀÌ : theko ³¯Â¥ : 2015-04-10 (±Ý) 17:38 Á¶È¸ : 2335

sun java ¼³Ä¡ 2 [path profile]

# ./jdk-6u20-linux-x64-rpm.bin

or

# ./jdk-6u20-linux-x64-bin.rpm


- ¼³Ä¡µÈ java °¡  /tmp ¹Ø¿¡ Ç®¾îÁú °æ¿ì

# mv /tmp/java/ /usr/local/java/



# mv /usr/bin/java /usr/bin/java_bak
# mv /usr/bin/javac /usr/bin/javac_bak


# vi /etc/profile
export PATH=\$PATH:/usr/local/java/bin
export JAVA_HOME=/usr/local/java

# source /etc/profile


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com