1 |
On Fri, Aug 28, 2015 at 12:00:30AM -0400, Fernando Rodriguez wrote: |
2 |
> On Thursday, August 27, 2015 8:25:43 PM José Romildo Malaquias wrote: |
3 |
> > I need help getting java plugin working in the Midori web browser. |
4 |
> > |
5 |
> > I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64 |
6 |
> > system. |
7 |
> > |
8 |
> > The plugin works with Firefox. |
9 |
> |
10 |
> I don't use midori, but according to their FAQ it uses firefox's |
11 |
> plugin, so run: |
12 |
> |
13 |
> eselect java-nsplugin list |
14 |
> |
15 |
> And check that it's properly set. |
16 |
|
17 |
It is already configured: |
18 |
|
19 |
# eselect java-nsplugin list |
20 |
Available 32-bit Java browser plugins |
21 |
Available 64-bit Java browser plugins |
22 |
[1] oracle-jdk-bin-1.8 current |
23 |
|
24 |
> Then try: |
25 |
> |
26 |
> # MOZ_PLUGIN_PATH=/usr/lib64/nsbrowser/plugins midori |
27 |
> |
28 |
> Replace midori with whatever the midori executable is called. |
29 |
|
30 |
It seems that Midori is not seeing the Java plugin and the test page |
31 |
. I am getting the following when testing for the Java plugin: |
32 |
|
33 |
% ls -l /usr/lib64/nsbrowser/plugins |
34 |
total 18840 |
35 |
lrwxrwxrwx 1 root root 67 Dec 31 2014 javaplugin.so -> //usr/share/java-config-2/nsplugin/oracle-jdk-bin-1.8-javaplugin.so |
36 |
-rwxr-xr-x 1 root root 19264896 Aug 13 07:34 libflashplayer.so |
37 |
-rwxr-xr-x 1 root root 18672 Jul 27 10:47 libgnome-shell-browser-plugin.so |
38 |
|
39 |
% MOZ_PLUGIN_PATH=/usr/lib64/nsbrowser/plugins midori http://javatester.org/version.html |
40 |
[...] |
41 |
ERROR: Didn't find JVM under /usr/lib/nsbrowser/plugins |
42 |
WebKitPluginProcess: ../../../../src/plugin/solaris/plugin2/common/JavaVM.c:170: InitializeJVM: Assertion `foundJVM' failed. |
43 |
|
44 |
|
45 |
Also, loading the page |
46 |
https://www.whatismybrowser.com/detect/is-java-installed in Midori shows |
47 |
that the Java plugin is disabled. |
48 |
|
49 |
|
50 |
Any more clues? |
51 |
|
52 |
|
53 |
> Now are you sure that it works with firefox? I ask because I use the same |
54 |
> package and I recently noticed that it's not working with firefox. What firefox |
55 |
> version you have? |
56 |
|
57 |
Yes, it works with Firefox. But first it may be necessary to give |
58 |
permissions to execute Java applications from the site of interest. |
59 |
|
60 |
After running the Java Control Panel (jcontrol) and adding the site |
61 |
http://javatester.org/ to the exception site list (in the Security tab), |
62 |
the plugin is correctly detected, as can be seen in the attached image. |
63 |
|
64 |
Regards, |
65 |
Romildo |