728x90
반응형
#!/bin/sh

#mkdir /usr/local/java
sh jdk-6u12-linux-i586.bin
#The jdk directory is then extracted
#mv jdk1.6.0_12 /usr/local/java
mv jdk1.6.0_12 /usr/local
#remove older symbolic link
rm -f /usr/local/java
cd /usr/local
ln -s jdk1.6.0_12 java

728x90
반응형

+ Recent posts