Discussion:
[gentoo-user] Java plugin in Midori web browser
José Romildo Malaquias
2015-08-27 23:25:43 UTC
Permalink
I need help getting java plugin working in the Midori web browser.

I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
system.

The plugin works with Firefox.

Romildo
James
2015-08-28 02:06:10 UTC
Permalink
José Romildo Malaquias
2015-08-29 10:46:06 UTC
Permalink
Post by José Romildo Malaquias
I need help getting java plugin working in the Midori web browser.
I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
system.
I used icedtea-bin for most everything.
Post by José Romildo Malaquias
The plugin works with Firefox.
I do not use that browser.
Have you check for information in the relevant bug reports: [1] ;
at it might be a good place to start some research.
[1] bugs.gentoo.org
There was bug report for this issue. So I made one:
https://bugs.gentoo.org/show_bug.cgi?id=559084
Fernando Rodriguez
2015-08-28 04:00:30 UTC
Permalink
Post by José Romildo Malaquias
I need help getting java plugin working in the Midori web browser.
I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
system.
The plugin works with Firefox.
Romildo
I don't use midori, but according to their FAQ it uses firefox's plugin, so
run:

eselect java-nsplugin list

And check that it's properly set. Then try:

# MOZ_PLUGIN_PATH=/usr/lib64/nsbrowser/plugins midori

Replace midori with whatever the midori executable is called.

Now are you sure that it works with firefox? I ask because I use the same
package and I recently noticed that it's not working with firefox. What firefox
version you have?
--
Fernando Rodriguez
José Romildo Malaquias
2015-08-28 12:17:20 UTC
Permalink
Post by Fernando Rodriguez
Post by José Romildo Malaquias
I need help getting java plugin working in the Midori web browser.
I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
system.
The plugin works with Firefox.
I don't use midori, but according to their FAQ it uses firefox's
eselect java-nsplugin list
And check that it's properly set.
It is already configured:

# eselect java-nsplugin list
Available 32-bit Java browser plugins
Available 64-bit Java browser plugins
[1] oracle-jdk-bin-1.8 current
Post by Fernando Rodriguez
# MOZ_PLUGIN_PATH=/usr/lib64/nsbrowser/plugins midori
Replace midori with whatever the midori executable is called.
It seems that Midori is not seeing the Java plugin and the test page
. I am getting the following when testing for the Java plugin:

% ls -l /usr/lib64/nsbrowser/plugins
total 18840
lrwxrwxrwx 1 root root 67 Dec 31 2014 javaplugin.so -> //usr/share/java-config-2/nsplugin/oracle-jdk-bin-1.8-javaplugin.so
-rwxr-xr-x 1 root root 19264896 Aug 13 07:34 libflashplayer.so
-rwxr-xr-x 1 root root 18672 Jul 27 10:47 libgnome-shell-browser-plugin.so

% MOZ_PLUGIN_PATH=/usr/lib64/nsbrowser/plugins midori http://javatester.org/version.html
[...]
ERROR: Didn't find JVM under /usr/lib/nsbrowser/plugins
WebKitPluginProcess: ../../../../src/plugin/solaris/plugin2/common/JavaVM.c:170: InitializeJVM: Assertion `foundJVM' failed.


Also, loading the page
https://www.whatismybrowser.com/detect/is-java-installed in Midori shows
that the Java plugin is disabled.


Any more clues?
Post by Fernando Rodriguez
Now are you sure that it works with firefox? I ask because I use the same
package and I recently noticed that it's not working with firefox. What firefox
version you have?
Yes, it works with Firefox. But first it may be necessary to give
permissions to execute Java applications from the site of interest.

After running the Java Control Panel (jcontrol) and adding the site
http://javatester.org/ to the exception site list (in the Security tab),
the plugin is correctly detected, as can be seen in the attached image.

Regards,
Romildo
bitlord
2015-08-28 04:12:19 UTC
Permalink
On Thu, 27 Aug 2015 20:25:43 -0300
Post by José Romildo Malaquias
I need help getting java plugin working in the Midori web browser.
I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
system.
The plugin works with Firefox.
Romildo
Have you tried to go into 'Preferences > Extensions' it is probably
listed there, and you can enable/disable it?
José Romildo Malaquias
2015-08-29 10:50:08 UTC
Permalink
Post by bitlord
On Thu, 27 Aug 2015 20:25:43 -0300
Post by José Romildo Malaquias
I need help getting java plugin working in the Midori web browser.
I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
system.
The plugin works with Firefox.
Have you tried to go into 'Preferences > Extensions' it is probably
listed there, and you can enable/disable it?
The Java plugin is not listed there.

Continue reading on narkive:
Loading...