best way to get rid of open jdk


how to install sun java 1.6 update 17 ---- the latest one and get rid of open-jdk?


As root;

zypper in -y -l java-1_6_0-sun java-1_6_0-sun-devel && update-alternatives --set java `rpm --eval %_libdir`/jvm/jre-1.6.0-sun/bin/java

Yes, that’s one line - just copy paste it.

Thanx and its really helpful…:frowning:

Why sad if it was helpful? Hehe.