如何在firefox里面设置java环境
2个回答
2015-03-04 · 知道合伙人数码行家
huanglenzhi
知道合伙人数码行家
向TA提问 私信TA
知道合伙人数码行家
采纳数:117538
获赞数:517199
长期从事计算机组装,维护,网络组建及管理。对计算机硬件、操作系统安装、典型网络设备具有详细认知。
向TA提问 私信TA
关注
展开全部
为了能使用firefox配置ha,所以要设置firefox里面的环境变量,询问了牛参考了java文档才算搞定,总结如下;
系统环境:everest linux (NOE) 0.5 kernel 2.6.23.1-3
jre 1.5.0
[root@young ha41]# rpm -ivh jre-1_5_0_11-linux-i586.rpm
[root@young plugins]# cd /usr/lib/firefox/plugins/
[root@young plugins]# ln -s /usr/java/jre1.5.0_11/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
配置完成。
参考文档:http://plugindoc.mozdev.org/faqs/java.html
Linux
On Linux, Mozilla requires JRE 1.4.2 or later.
Mozilla 1.4 and later, and Mozilla Firefox, are compiled with gcc 3.x. A gcc 3.x compatible version of the Java plugin must be used. JRE 1.4.2 and later contain a compatible plugin.
If you installed the Java Runtime Environment 5.0 Update 9, this plugin is /usr/java/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so - and to install it for Mozilla (including Mozilla Firefox), do the following:
Open a terminal
Change to your Mozilla (or Mozilla Firefox) plugins directory
Issue the following command: ln -s /usr/java/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
If you install your JRE in a different way (self extracting package, debian package, etc), libjavaplugin_oji.so will quite likely be in a different location. Do not just blindly use the command listed above!
In JRE 1.4.2, this file was in plugin/i386/ns610-gcc32
Always make a symbolic link, as shown above, instead of copying the plugin. If you copy the plugin, your browser will crash every time you open a page containing a Java applet. You have been warned!
If you are using an older Linux distribution, you may need to install the gcc3 support libraries, as the gcc 3.2 version of the Java plugin requires libgcc_s.so.1 to operate. You may be able to find packages using Google.
If you are using an old or unofficial build of Mozilla (1.4a or later) or Mozilla Firefox, you can check which compiler was used by entering about:buildconfig in the location bar and pressing enter. You will see a line such as "gcc version 3.3.2", which will show the compiler that was used. If gcc2.9x was used, you need to use the ns7-gcc29 or ns610 plugin, not the ns7 or ns610-gcc32 plugin.
系统环境:everest linux (NOE) 0.5 kernel 2.6.23.1-3
jre 1.5.0
[root@young ha41]# rpm -ivh jre-1_5_0_11-linux-i586.rpm
[root@young plugins]# cd /usr/lib/firefox/plugins/
[root@young plugins]# ln -s /usr/java/jre1.5.0_11/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
配置完成。
参考文档:http://plugindoc.mozdev.org/faqs/java.html
Linux
On Linux, Mozilla requires JRE 1.4.2 or later.
Mozilla 1.4 and later, and Mozilla Firefox, are compiled with gcc 3.x. A gcc 3.x compatible version of the Java plugin must be used. JRE 1.4.2 and later contain a compatible plugin.
If you installed the Java Runtime Environment 5.0 Update 9, this plugin is /usr/java/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so - and to install it for Mozilla (including Mozilla Firefox), do the following:
Open a terminal
Change to your Mozilla (or Mozilla Firefox) plugins directory
Issue the following command: ln -s /usr/java/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
If you install your JRE in a different way (self extracting package, debian package, etc), libjavaplugin_oji.so will quite likely be in a different location. Do not just blindly use the command listed above!
In JRE 1.4.2, this file was in plugin/i386/ns610-gcc32
Always make a symbolic link, as shown above, instead of copying the plugin. If you copy the plugin, your browser will crash every time you open a page containing a Java applet. You have been warned!
If you are using an older Linux distribution, you may need to install the gcc3 support libraries, as the gcc 3.2 version of the Java plugin requires libgcc_s.so.1 to operate. You may be able to find packages using Google.
If you are using an old or unofficial build of Mozilla (1.4a or later) or Mozilla Firefox, you can check which compiler was used by entering about:buildconfig in the location bar and pressing enter. You will see a line such as "gcc version 3.3.2", which will show the compiler that was used. If gcc2.9x was used, you need to use the ns7-gcc29 or ns610 plugin, not the ns7 or ns610-gcc32 plugin.
展开全部
您好!很高兴为您答疑。
如果您是linux操作系统,可以参阅:如何在firefox里面设置java环境(linux版),如果是windows操作系统,您可以直接安装jdk即可。
如果对我们的回答存在任何疑问,欢迎继续问询。
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询