Since Java on Ubuntu 6.06 default Repo was just on Version 1.40, here is the small step for upgrading your Java 1.4 on Ubuntu 6.06 to 1.50, hence thereis another java 1.60 was avaiable on java sites.
so hereis the step, download java, for this tip i'm just taking the JDK files
- Download java di situsnya http://java.sun.com/javase/downloads/index.jsp
- dwina@dhdwde$ sudo chmod a+x jdk-1_5_0_06-linux-i586.bin
- dwina@dhdwde$ sudo ./jdk-1_5_0_06-linux-i586.bin
- dwina@dhdwde$ sudo mv jdk1.5.0_06 /usr/lib/jvm/
- dwina@dhdwde$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.5.0_06/bin/java" 1
- dwina@dhdwde$ sudo update-alternatives --set java /usr/lib/jvm/jdk1.5.0_06/bin/java
- dwina@dhdwde$ java -version
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
;o))
No comments:
Post a Comment