SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks, GrapeFruitGirl. FWIW IcedTea is in disguise as java-1.6.0-openjdk<something>.
rpm2targz just doesn't get it, just throwing in the plugin didn't work, and I'm leaving it now.
rpm2cpio makes archives cpio doesn't manage to handle very well. Every time I go at cpio I go down in flames.
It's getting late here.
I dont know of many people who would by choice use iced tea instead of the official java from Oracle. On Fedora you dont really have a choice but why would someone (eg. you) need iced tea on Slackware?
Me either don't know the advantages of IcedTea over official Java SDK... But You can get source code from hg repository, as mentioned on IT wiki page: http://icedtea.classpath.org/wiki/Main_Page
Next, You just can build IcedTea from sources and use makepkg tool to generate TXZ package for slackware
@sakho: The one huge advantage of Iced Tea is that the dodgy ATI drivers(what ATI driver is not dodgy?) here behave better with iced tea as opposed to the official stuff.
@Martinezio: The source is up there, but I gathered I needed a java compiler. Now I gather also that I have one, but there's a lot of learning there I wouldn't have to do if I could grab a slackpkg.
@GrapeFruitGirl: Did you mention Podge & Rodge? This is Ireland here. As soon as I suggested it from the front page, it was automatically hidden. The Podge & Rodge show is logically files, in the A-Z index, under B :-/. It certainly wouldn't be under P or R - that would never do;-).
Slamd failed with rpm2targz, but slackware succeeded. The only thing I lose is the installation script from the plugin which inserts it into mozilla. I tried rpm2cpio, but lost the script as well that way. Fedora have a symlink to a symlink in /etc/alternatives, which no sane person would do on his own box.
How do you pinch the initialisation script from an rpm?
postinstall scriptlet (using /bin/sh):
if [ $1 -gt 1 ]
then
alternatives --remove libjavaplugin.so.x86_64 \
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so 2>/dev/null
alternatives --remove libjavaplugin.so.x86_64 \
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so 2>/dev/null
fi
alternatives \
--install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 \
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaNPPlugin.so 16000
exit 0
postuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ]
then
alternatives --remove libjavaplugin.so.x86_64 \
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaNPPlugin.so
fi
exit 0
/usr/sbin/alternatives is a binary that takes options and makes symlinks in /etc/alternatives. Now I can make symlinks, or copy files. But when I drop the plugin into /usr/lib64/mozilla/plugins, it's not recognized as a plugin. But if I put the others back, they are. ldd doesn't show the plugin relying on anything in java. It must do, thiough. I will get back to it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.