Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: manit123 on July 07, 2012, 11:03:13 PM

Title: running java applet in web browser
Post by: manit123 on July 07, 2012, 11:03:13 PM
Some websites like catchvideoDOTnet say java is not installed on your system.
I installed openjdk-7-jre.tcz
'java -version' says
Code: [Select]
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-tc_2010_01_30_13_43-b00)
OpenJDK Server VM (build 17.0-b08, mixed mode)
How do I make firefox 13 recognise this ?
I searched for libjava* files & got

/tmp/tcloop/openjdk-7-jre/usr/local/openjdk-7/jre/lib/i386/libjava.so
/tmp/tcloop/openjdk-7-jre/usr/local/openjdk-7/jre/lib/i386/libjava_crw_demo.so

I have used oracle/sun jre binary before in which you had to copy link to libnpjp.so in ~/.mozilla/plugins . What is the case in openjdk ?
NOTE:did not find iced tea plugin in app cloud,also libjavaplugin_oji.so is part of oracle jre
Title: Re: running java applet in web browser
Post by: thane on July 07, 2012, 11:16:34 PM
FWIW, I use the sun-jre extension rather than the openjdk ones. I tried openjdk and the websites I went to didn't seem to recognize it. I didn't really dig into it to figure out what was happening though.

edit: I'm not a moderator but this thread would be more appropriate for the TCE Talk or TCE Q & A Forum, since it discusses extensions rather than the base system.
Title: Re: running java applet in web browser
Post by: manit123 on July 08, 2012, 02:23:10 AM
$ find / -iname 'libnp*' 2> /dev/null
/tmp/tcloop/sun-jre/usr/local/java-sun/jre/lib/i386/libnpjp2.so
/tmp/tcloop/sun-jre/usr/local/java-sun/jre/lib/i386/libnpt.so
/tmp/tcloop/sun-jre/usr/local/lib/mozilla/plugins/libnpjp2.so
/usr/local/java-sun/jre/lib/i386/libnpt.so
/usr/local/java-sun/jre/lib/i386/libnpjp2.so
/usr/local/lib/mozilla/plugins/libnpjp2.so

Seems - installing sun-jre is not enough.
'java -version' says
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode
After I add link to /tmp/tcloop/sun-jre/usr/local/java-sun/jre/lib/i386/libnpjp2.so in ~/.mozilla/plugins folder then , java in browser works.