Post by Fernando RodriguezPost by José Romildo MalaquiasI 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 RodriguezNow 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