Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: netnomad on March 24, 2012, 03:50:06 PM
-
hi friends,
i seldom use java, but i tested it in microcore from 3.0 until 3.6 with openoffice and minefield and it worked well.
now with core 4.4 i use libreoffice3.5.scm, icecat and minefield9, and the sun-jre.tcz doesn't seem to work anymore.
it's the same with sun-jre7.tcz, openjdk-7-jre.tcz, openjdk-6-jre.tcz.
in libreoffice3.5, under the menue options, no ondemand installed java-jre is shown,
in the browsers the typical java testpages don't show a working java-environment.
actually i don't need java on a daily base, but i'm just curious whether the java-packages of the repository are still working and perhaps which packages you successfully use with which configurations!?
thank you for your replies and hints.
-
i actually use sun-jre (version 6) on 4.2 tinycore and it works.
I did not know that there was a version 7 of the same.
I think I'll have to do many tests as I get access to a faster connection.
-
no ondemand installed java-jre is shown
Does this mean you are using java ondemand? If it is ondemand it won't work until you logout and relogin.
-
the sun-jre info says:
You need to relogin or reboot to have java in PATH.
but i think not necessary relogin or reboot
need add the environment variable JAVA_HOME=/usr/local/java-sun/jre
so sun-jre7 will work and for example in the opera-11 on about:plugins can see
Java(TM) Plug-in 1.7.0
Description: The next generation Java plug-in for Mozilla browsers.
/usr/local/lib/mozilla/plugins/libnpjp2.so
p.s.
export JAVA_HOME=/usr/local/java-sun/jre
export PATH=$PATH:$JAVA_HOME
-
hi robc,
i can confirm your hint: after installing sun-jre.tcz (version6), logout and relogin, i can load java in libreoffice3.5.
but nevertheless minefield9 isn't able to load or play java-applets...
... could you imagine reasons for this malfunction?
about:plugins shows no loaded plugins.
thank you for your contribution.
-
I use java on boot and seamonkey, applet work
-
hi vinnie,
seamonkey is able to run java-applets without any reboot, just relogin is enough.
probably minefield9 has problems at least with java6.
-
i want gladden you that no problems with minefield9 :)
but perhaps you have flash11 also installed as ondemand
run ondemand-sun-jre7 and ondemand-flash11
then sun-jre7 will work even without relogin or reboot
oddly enough but it works! :D
(http://forum.tinycorelinux.net/index.php?action=dlattach;topic=12887.0;attach=3340)
-
hi AbNoRMiS,
yeah, i can confirm, i didn't expect that a java-applet needs flash.
all mentioned features work with minefield9, too.
thank you for your confirmation.
-
Java doesn't need flash, more likely it's a missing dep or something done by the flash startup script.
-
yeah, you are right, that makes sense.
thanks for your contribution curaga.
-
dear curaga, you're absolutely right, flash not required :)
in the sun-jre7 startup script lacks code which exists in flash11 startup script
if add this two code lines to ondemand script tce/ondemand/sun-jre7
cat >> `readlink /etc/sysconfig/tcedir`/ondemand/sun-jre7 <<EOF
## Support mozillas that do not have /usr/local/lib/mozilla plugins specified as a plugin dir.
[ -d /usr/lib/mozilla ] || sudo mkdir -p /usr/lib/mozilla
[ -e /usr/lib/mozilla/plugins ] || sudo ln -s /usr/local/lib/mozilla/plugins /usr/lib/mozilla/plugins
EOF
then minefield9 can run without flash to preserve a bit memory
-
we have to remember to arslan when he back.
indeed seen that there is still time we could do something to give him welcome home.
Perhaps a multimedia product?
-
sorry vinnie, i don't understood
what you mean about arslan and multimedia product?
-
A sort of gift for his return :P
maybe a comic strip in which he portrayed during his military work inventing some story or something like that
-
maybe i need know arslan personally to achieve understanding about this but it not so :D
-
hi AbNoRMiS,
arslan is now in his military service in turkey...
he is in charge for some very popular packages like virtualbox, minitube or java,
so we are looking forward to his return... so then some packages get a cheerful update ;-)
-
oh, thank you, netnomad, finally i realized what the matter :)
now i understood why nobody can find virtualbox-3.0.21 :D
very good that at least jre has started normally work starting from tc4.4
because before that time it printed mass screen messages at booting
but anyway we'll wait eagerly for his return
(and also because that minitube very outdated ;D)
-
Hi. I can email you the Sun JRE I use for Core Linux 4.5.1 if you are interested.