MozTW 討論區
https://forum.moztw.org/

Firefox 3.6 beta 與 java npapi 的 Linux 配置
https://forum.moztw.org/viewtopic.php?f=18&t=28729
1 頁 (共 1 頁)

發表人:  MoonMoon [ 2009-11-14, 00:26 ]
文章主題 :  Firefox 3.6 beta 與 java npapi 的 Linux 配置

Mozilla Firefox 3.6 將不再支援 java OJI (Open Java Virtual Machine Integration), 只能支援 java 新版本 NPAPI...(MacOS仍用 oji)

Why do I need Java 6 Update 10 and above for Firefox 3.6 and later versions?
http://www.java.com/en/download/faq/fir ... plugin.xml
引言回覆:
Starting in Firefox 3.6, Mozilla foundation will drop support on OJI (Open Java Virtual Machine Integration) and will only support the standard NPAPI and NPRuntime interfaces. The Java Plug-in which is in Java version 6 update 10 or newer versions supports the NPAPI and NPRuntime interfaces. Therefore, starting with Firefox 3.6, Java-based applets will NOT work unless you are running Java version 6 Update 10 or newer.

以往舊的 Linux 設定使用 Sun JRE 的 libjavaplugin_oji.so 將不能使用於 Firefox 3.6, 要使用新 NPAPI 的 libnpjp2.so, 需要修改安裝 java plugins

Linux 下手動配置 libnpjp2.so
以 root 帳號權限執行
代碼:
# ln -s `find /usr/java/ -name 'libnpjp2.so'` /usr/lib/mozilla/plugins/libnpjp2.so

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/