March 19, 2007

Ubuntu - JDK Setting

# install jdk
chmod 755 jdk*.bin
mkdir /usr/java
mv jdk*.bin /usr/java
/usr/java/jdk*.bin
rm /usr/java/jdk*.bin

# setup java environment
sudo update-alternatives --install /usr/bin/java java /usr/java/jdk*/jre/bin/java 1
sudo update-alternatives --config java

sudo update-alternatives --remove java /usr/java/jdk*/jre/bin/java

# setup korean fonts
cp fontconfig.properties /usr/java/jdk*/jre/lib/

# firefox plug-in
ln -s /usr/java/jdk*/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/

http://www.ubuntuforums.org/showthread.php?t=148075

No comments: