Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Slamd64 here (= 64 bit Slackware) so it's DIY linux :-/.
I got the java 64 bit plugin, tried all the instructions on the web that definitely don't work and leave out the juicy bits. Then I found a set that might work and tried them. I'll leave out earlier attempts.
Step 77. Installed jre1.6.0_14 from Sun's website (again). It gave me /usr/ja va/jre1.6.0_14. The plugin directory only had a .desktop file :-(
78. Go to /usr/lib64/firefox-3.0.5/plugins and symlinked in /usr/java/jre1.6.0_14/lib/libj2pnp.so
79. Go to /usr/lib64/mozilla/plugins and symlink it in there as well. Adobe's alpha 64 bit flash plugin is the same spot and works.
80. Restart firefox, and try aboutlugins. It shows me a big list under java and says "Yes, yes, yes, we can do all of that - why are you asking?"
81. Try a website. The browser crashes instantly. I have a twin core turion (amd) here - a new well specced laptop
There is a 'jexec' script near the startup scripts and I have tried starting it manually(/etc/rc.d/jexec start) as root. It exits with half a line and no newline (starting, checking, or stopping jexec services), and starts nothing afaict.
Extract it to wherever (usually /usr/lib64 then symlink to /usr/lib64/java), then symlink /usr/lib64/java/lib/amd64/libnpjp2.so to the FF plugins directory whichever you want, I use ~/.mozilla/plugins.
Extract it to wherever (usually /usr/lib64 then symlink to /usr/lib64/java), then symlink /usr/lib64/java/lib/amd64/libnpjp2.so to the FF plugins directory whichever you want, I use ~/.mozilla/plugins.
Thanks for the reply.
There is a bit of java stuff in /usr/lib64/java (no plugin btw) but I don't know if it is active.I did exactly as you said, except we landed in /usr/java/jre1.6.0_14 again. I wasn't offered a choice this time. The link you sent me was the installed plugin.
I did the basic stuff when it crashed out again, as always
cd /usr/java/jre1.6.0_14/lib/amd64
ldd *.so |grep -i found
find the missing libs and make them available
and of course add the java dir to /etc/ld.so.conf & run ldconfig.
If it works for others, there must be something up with my system. But I can't spot it, short of marrying the 2 installations. I even set $JAVA_HOME to /jsr/java/jre1.6.0_14 and added the bin directory to the path.
To the subject. Removed the old java, and tried again. Bless Firefox the way it can resume all the tabs after an unexpected (or in this case, expected) crash!
ldd showed me all the binaries had their libs too. For some reason the /usr/java/jre1.6.0_14/lib/amd64 entry in /etc/ld/so/conf allows the situation where the subdirectories are not read :-/. The jexec script appears to register BINFMT_MISC, so not having that compiled into the kernel would affect Java, but I have that.
I did take out the pdf plugin to get around 32/64 bit issues, but all the others seem to work fine.
So here, I grind to a shuddering halt. Anyone got tech support from Sun?
Perhaps a relevant email? If we are all out of ideas, we are all beaten by this one.
Last edited by business_kid; 05-14-2009 at 06:49 AM.
Reason: question unanswered
This is actually horrible, but I think I have sorted it.
In /usr/java/jre1.6.0_14/lib/amd64 we have a (one of many)libs missing, libmawt.so. I thought that specifying a dir in /etc/ld.so.conf meant it's subdirs were searched, but that is not happening here.
When I was linking these libs in, I did a 'locate' command without updatedb and was shown ~/headless/libmawt.so in fedora - some earlier version. So I linked that one in. That was my problem.
There is also a libmawt.so in ~/lib/amd64/motif21, and another in ~/lib/amd64/xawt/ :-///. They differ!!
Polite words fail me at this point, so we pass over commenting on this.
This proved to be a real horror story.
symlinking in the one from ~/lib/amd64/motif21 gets me past the java test. If I crash on websites, There's always the one in xawt to play with.
This is what kills me about 64 bit software. Every step of setup is a war, and companies don't seem to give an <expletive deleted>.
For the record, I mentioned 3 versions of libmawt.so. Linking in one from usr/java/jre1.*/lib/amd64/motif21/ or xawt/ gets me going. Try this on your 64 bit box:
Choose a County - Dublin 6W
locality Choose Templeogue
Street or Address - Rushbrook
That throws up 4 Pages. On all pages, If I want to map the property, I see blue house icons on a black background with no map. On my 32 bit Athlon, all is fine.
31 Rushbrook Park: I see nothing wrong
6 Rushbrook View - No pictures. I see the icons, and I can right clickon the black frame and select "view image" and I see it.
21 Rushbrook Court - I only can see the outside view. The other 4 images come up black, but the outside is fine.
On all of these, If I left click and drag the images somewhere, they show up full size. I don't know if this is a video thing, or a java thing.This one
has 16 pictures. When I expand them out I can see the right half of them!
/begin spontaneous rant
Installing a java plugin should not be a war. Ditto video, wifi, sound, and everything else. I should not have an alpha 64bit flash plugin which adobe won't support. Neither should I be using a 32 bit browser. This is 2009, <expletive!>. These things should work.
Well, I tried those and they seem to work fine. However, you should know that these are NOT java based, they are javascript, something the browser interprets, so it's a browser issue I think. Try upgrading or using a different browser.
This has 33 tests, of which I failed 2, and they explain the myhome.ie pages.
02) On Mouse over - How to use the on mouse over event along with image swapping.
&
24) An animation - A simple animation example using javascript.
I have the distinct feeling that some came out a little differently from the intended result, but they displayed, so I passed them. Now where do I report the bug? Mozilla or Sun?
Fedora 10 x86_64 also is on this box (mainly for multimedia and yum if I ever need them). 'yum install k3b' saves me an hour farting with dependencies, for example. Fedora ignores Sun and uses the OSS java.
But that setup (64 bit all round) also fails the same 2 tests. It looks a great future and I will use it henceforth. Fedora 10 also has firefox-3.0.8 (vs 3.0.5 in slamd64). So it's not just a slamd thing.
I tried those tests (02 & 24) on a 32 bit box. 2 behaved differently but not well, and 24 failed. (Slackware-12.0)
Hmmm. That page was done in 2000 and tested against (spit!)IE and NS-4.6. It _may_ be the tester at fault. I'll report the fault there. If he knows the code, or has a frank opinion of his own work, he may put his hands up and say "My fault". I'll post with any update, I'd encourage you to also. There's definitely a problem
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.