I forget stuff… really!!!

Memilih Java

Kalo di system Ubuntu anda ada beberapa versi java trik berikut bisa anda gunakan untuk memilih java mana yang mau dipakai

[email protected]:~$ sudo update-alternatives –config java

There are 4 alternatives which provide `java’.

Selection Alternative
———————————————–
1 /usr/bin/gij-wrapper-4.1
2 /usr/lib/jvm/java-6-sun/jre/bin/java
+ 3 /usr/lib/j2se/1.4/bin/java
* 4 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

Press enter to keep the default[*], or type selection number: 4
Using `/usr/lib/jvm/java-1.5.0-sun/jre/bin/java’ to provide `java’.

Dalam hal ini saya pilih sun-java5-jdk

Powered by Wordpress | Designed by Elegant Themes