![](https://seccdn.libravatar.org/avatar/0d0434a1c7ca43ef1a88fee5ecda1edf.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David C. Rankin wrote:
Listmates;
After finally getting my weather sites working with sun java, for some reason when I uninstalled openjdk, my java quit working. What does openjdk have to do with sun java? Here is my present config:
[01:52 alchemy:/home/david/webdev/data] # update-alternatives --display java java - status is auto. link currently points to /usr/lib64/jvm/jre-1.6.0-sun/bin/java /usr/lib64/jvm/jre-1.6.0-sun/bin/java - priority 1613 slave ControlPanel: /usr/lib64/jvm/jre-1.6.0-sun/bin/ControlPanel slave keytool.1.gz: /usr/share/man/man1/keytool-java-1_6_0-sun.1.gz slave rmid.1.gz: /usr/share/man/man1/rmid-java-1_6_0-sun.1.gz slave orbd.1.gz: /usr/share/man/man1/orbd-java-1_6_0-sun.1.gz slave rmid: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmid slave servertool.1.gz: /usr/share/man/man1/servertool-java-1_6_0-sun.1.gz slave javaws.1.gz: /usr/share/man/man1/javaws-java-1_6_0-sun.1.gz slave jre_exports: /usr/lib64/jvm-exports/jre-1.6.0-sun slave policytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/policytool slave orbd: /usr/lib64/jvm/jre-1.6.0-sun/bin/orbd slave rmiregistry: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmiregistry slave tnameserv: /usr/lib64/jvm/jre-1.6.0-sun/bin/tnameserv slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1_6_0-sun.1.gz slave keytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/keytool slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1_6_0-sun.1.gz slave javaws: /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws slave servertool: /usr/lib64/jvm/jre-1.6.0-sun/bin/servertool slave java.1.gz: /usr/share/man/man1/java-java-1_6_0-sun.1.gz slave policytool.1.gz: /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz slave jre: /usr/lib64/jvm/jre-1.6.0-sun /usr/lib64/jvm/jre-1.5.0-gcj/bin/java - priority 1500 slave jre_exports: /usr/lib64/jvm-exports/jre-1.5.0-gcj slave rmiregistry: /usr/lib64/jvm/jre-1.5.0-gcj/bin/rmiregistry slave jre: /usr/lib64/jvm/jre-1.5.0-gcj Current `best' version is /usr/lib64/jvm/jre-1.6.0-sun/bin/java.
I have java-1_6_0-sun-plugin-1.6.0.u12-1.2.x86_64 installed (I had to install it after openjdk was removed), but still no java on my weather sites. I have been through: http://en.opensuse.org/Java/setDefaultJava Is there some other magic update-alternatives approach I need to take? Thanks in advance.
The jdk implies than openjdk is a software development version. You uninstalled a jdk this may have setup some development links that are no longer functional after you uninstalled it. (If this is the case openjdk is not playing nice). Some error reports might help... what happens if you run a Java app at the command line... (see man java).. If some of the components are missing or broken they will only report an error when called (I do not recall coming across a tool to validate a java installation). If you have an executable JAR or Java code this can be used to test whether your java config is basically functional. The java runtime engine can be called with an explicit class path, rather than the implicit class path implied in the above...an approach often used in development work (when I suspect the update-alternatives approach may unravel somewhat)... This might be usable to find what is broken by attempting to run the code from the command line building up the classpath for each run with missing entries. (Or alternatively reinstall everything from scratch). Not a lot of help I know but may give a pointer... - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkm4we0ACgkQasN0sSnLmgImWQCfdNZ3FLi8WpeIT9fwPTIOtBWN +TEAoOu0eem/8ohi/2bwptm530b+3e84 =MkFj -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org