Hello. Package Manager reports (with a green checkmark) that I have java-1.6.0 installed on my machine (running Cent 5.3), but it seems to not be running. I used http://java.com/en/download/help/testvm.xml and got "Something is wrong. Java is not working." Perhaps I'm confused on which program I need to use java-coded apps. PM lists this app as "OpenJDK Runtime Environment" - is this it? [mykolas at sr1220 ~]$ rpm -q jdk jre package jdk is not installed package jre is not installed Can someone explain, or provide a link to a particular webpage that would clue me in?
> Package Manager reports (with a green checkmark) that I have java-1.6.0 > installed on my machine (running Cent 5.3), but it seems to not be > running. I used http://java.com/en/download/help/testvm.xml and got > "Something is wrong. Java is not working."This page tell you that the Java browser plugin is not working (it is used to run small Java applets *in* the browser it self). The Java browser plugin is not shipped with the CentOS version of open jdk. Do you need this brower plugin? Are you running i386 or x86_64 ? You said that you are running 5.3, any reason why not updating to 5.4? (if it is a desktop)> > Perhaps I'm confused on which program I need to use java-coded apps. PM > lists this app as "OpenJDK Runtime Environment" - is this it? > > [mykolas at sr1220 ~]$ rpm -q jdk jre > package jdk is not installed > package jre is not installedWhat is the output of: yum list java-1.6.0-openjdk*
Michael Klinosky a ?crit :> > Can someone explain, or provide a link to a particular webpage that > would clue me in?I have a detailed explanation on my website. It's in french, but the Linux bits are international :o) http://www.microlinux.fr/linux_aux_petits_oignons/chapitre_8/01.html#java Cheers, Niki
On Sat, Apr 17, 2010 at 3:02 PM, Michael Klinosky <mpk2 at enter.net> wrote:> Hello. > Package Manager reports (with a green checkmark) that I have java-1.6.0 > installed on my machine (running Cent 5.3), but it seems to not be > running. I used http://java.com/en/download/help/testvm.xml and got > "Something is wrong. Java is not working." > > Perhaps I'm confused on which program I need to use java-coded apps. PM > lists this app as "OpenJDK Runtime Environment" - is this it? > > [mykolas at sr1220 ~]$ rpm -q jdk jre > package jdk is not installed > package jre is not installed > > Can someone explain, or provide a link to a particular webpage that > would clue me in? > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >There's Java HowTos on the CentOS Wiki http://wiki.centos.org/HowTos/JavaOnCentOS I use Sun's JDK, so the following may or may not work in OpenJDK. The JAVA_HOME here is Sun's JDK: ln -s $JAVA_HOME/jre/lib/i386/libnpjp2.so /usr/lib/firefox-3.0.10/plugins/libnpjp2.so You'll probably have to create the plugin directory under firefox - and your version of firefox may be different. On my machine, I linked /usr/lib/firefox-3.0.10/plugins -> /usr/lib/mozilla/plugins then linked the Java library to /usr/lib/mozilla/plugins. Restart your browser and you should see libnpjp2.so as the Java plugin. -- Enjoy global warming while it lasts.