Ask your questions here.
Post a reply

java plugin

Thu Jan 10, 2013 2:42 am

I need the java plugin to access documents in the County Clerks records but can't get it working. I've googled. I've read. I've tried various things. Installed. Uninstalled. Restarted Iceweasel. Nothing has worked. Now I'm confused and have a huge headache. Have any of you got it working? And if so, how did you do it?

Re: java plugin

Thu Jan 10, 2013 4:52 am

It used to be sun-java6-plugin, but I can't find anything like that. There's the open-source icedtea-plugin that should work. It's in the main repo.

Re: java plugin

Thu Jan 10, 2013 5:37 am

Yes, the sun-java6-plugin worked in squeeze. I installed icedtea plugin but it wouldn't work on that site. Processor went nuts but nothing ever came of it. I'll try again.

I found these instructions but I could only find a tar.gz not a .bin file. I think I'm missing something really stupid.

Re: java plugin

Thu Jan 10, 2013 7:50 am

Search for craigevil +java site:forums.debian.net
or same but with s/jjava/plugins
and similar.

I am quite sure that he often posts about the subject.

I am not good with the subject, and all might be out of date (as something has changed with java recently, right?)

But i really think that he has a good idea of the (plugins)-problem (that is: if anyone, then he has posted any news). Otoh: it ain't easy to say if someone posts good info or not if one doesn't understand oneself. The last time i fooled with jave i did something with "apt-get install *** default" and that allways worked (but that is not the plugin, is it? Holy jesus, is that confusing ...) Oh, and he also seems to be regulary at debianuserforums ....

Re: java plugin

Thu Jan 10, 2013 3:20 pm

Thanks for that nadir. Great way to search that I'd forgotten. I think that this post is gonna fix things. Toward the end there are instructions how to do it with the .tar.gz

Re: java plugin

Thu Jan 10, 2013 6:56 pm

Yesterday i made another post, but dillo didn't want to post it ...

Since the release circus of firefox there is always something broken for me.
Be it:
noscript
torbutton
abiltiy to post at twitter
ability to post at facebook
ability to log out of twitter (yup, i couldn't log out. Had to del the cookie for that :-).
... and so on , and so on ... every freaking day something is solved, something is broken.

Remember those days when you had one version forever and ... it was working? You could expect it to work (Yeah, who on earth would want that from a piece of software. No way. I want to fiddle every day).

But, like said above: i would not know if that is the problem or the java circus.

Re: java plugin

Thu Jan 10, 2013 9:12 pm

I'm about ready to install the .tar.gz. I'm still using Iceweasel 10.0.11 as I'm very conservative about wanting to try the latest and greatest. So that's probably not the hangup. If it still doesn't work on that site it could be the site itself. What can I say . . . it's a gub'ment website.

Re: java plugin

Fri Jan 11, 2013 1:58 am

This thread got me started on the right track, especially these instructions from debil which used a .tar.gz to build the .deb rather than a .bin:

Code:
$ fakeroot make-jpkg jre*.tar.gz
# dpkg -i jre*.deb
# cd /usr/lib/mozilla/plugins
# ln -s /usr/lib/jvm/j2re1.7-oracle/lib/amd64/libnpjp2.so
# update-alternatives --config java
# update-alternatives --config javaws


But when I tried to make the .deb it kept failing

Code:
$ fakeroot make-jpkg jre-7u10-linux-i586.tar.gz
Creating temporary directory: /tmp/make-jpkg.6MO88KwrnR
Loading plugins: /usr/share/java-package/common.sh /usr/share/java-package/j2re.sh /usr/share/java-package/j2sdk-doc.sh /usr/share/java-package/j2sdk.sh /usr/share/java-package/j2se.sh /usr/share/java-package/oracle-j2re.sh /usr/share/java-package/oracle-j2sdk-doc.sh /usr/share/java-package/oracle-j2sdk.sh

Detected Debian build architecture: i386
Detected Debian GNU type: i486-linux-gnu

No matching plugin was found.
Removing temporary directory: done


It took a while - been at this for hours - to find the solution over on the Mint forums.

Once I edited the /usr/share/java-package/oracle-j2re.sh and oracle-j2sdk.sh as suggested, I could create the .deb.

After some cache clearing etc. it worked on chromium but not chrome which had been installed to /opt. Once I set up a symbolic link there in /opt/google/chrome/plugins that got chrome working as well.

It is detected in iceweasel about:plugins etc and with the problem site's java tester. But after the animated java logo runs it says "no image available" instead of showing the document. I must be missing a setting somewhere in iceweasel maybe in about:config. Or perhaps it is a problem with iceweasel esr or adblock plus More troubleshooting to do. At least I've made some progress.

My head hurts, Need to go mooooove for a while . . .

If the spam ever calms down over at FDN, I'll update the thread there too with the new info.

Re: java plugin

Fri Jan 11, 2013 2:39 pm

I tried it the easy way - unpack the tarball and then either copy or symlink the file to the user's .mozilla/plugins, but when I went to a java test page, java wasn't working. "The file" is libjavaplugin_oji.so for 32-bit and libnpjp2.so for 64-bit. It does show up in about:plugins.

Re: java plugin

Fri Jan 11, 2013 2:50 pm

I tried the icedtea-plugin, and that one works on the java test site, but that won't help you if it doesn't work on the site you need.

Also - I'm testing in amd64 right now. If I copy or symlink the .so file into .mozilla/plugins, the browser crashes when I go to the test page. In 32, the browser doesn't crash; it just fails the test.
Post a reply