Ubuntu 10.04 㧠sun-java-6 ãã¤ã³ã¹ãã¼ã«
Ubuntu 10.04 ã«ã¢ãããã¼ããããã ãã©ï¼æ¨æºã ã¨ï¼OpenJDK ããå ¥ããããªããªã£ãï¼
OpenJDK ã¯ã¡ãã£ã¨ãã®ã¼ã ãï¼Font åãã®è¨å®ã¨ããã°ãã°ããªã®ã§ï¼
æ¥æ¬èªãä¸æã表示åºæ¥ãªãã£ããããã®ã§ï¼sun ã®ãã¤ãå
¥ãã
$ sudo add-apt-repository 'deb http://archive.canonical.com/ lucid partner' $ sudo apt-get update $ sudo aptitude install sun-java6-jdk
ã§ï¼ã¤ã³ã¹ãã¼ã«åºæ¥ãã®ã§ï¼
ããã©ã«ãã®è¨å®ãå¤æ´ãã¡ããã°çµã
$ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path åª Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode Press enter to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java to provide /usr/bin/java (java) in manual mode.