红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

debian AMD64 + firefox + java 解决方案

发布时间:2007-12-25 00:15:05来源:红联作者:ajaxmenu
这两天被firefox的java问题烦,dbs的IB是基于java的,网上写的都复杂,还有叫amd64下安装32位的firefox的。

nstalling_Blackdown_Java_.28for_AMD64_systems_with_64-bit_Firefox.29

Installing Blackdown Java (for AMD64 systems with 64-bit Firefox)

Note: If you wish to use 64-bit Firefox and not install 32-bit Firefox on an AMD64 system, you will want to use Blackdown Java. Currently, Sun Java does not provide a 64-bit browser plugin. This option is only recommended for those running 64-bit only systems because there is no Java 1.5 alternative.

我看了一下 www.blackdown.org 没有提示找不到服务器,也没有提示其他,就是空白。

后来在这里找到可以下载。安装解压会用到bzip2。

debian:~# wget ftp.gwdg.de/pub/languages/java/linux/JDK-1.4.2/amd64/03
/j2sdk-1.4.2-03-linux-amd64.bin

debian:~# mv j2re-1.4.2-03-linux-amd64.bin /opt
debian:~# cd /opt
debian:/opt# apt-get install bzip2
debian:/opt# chmod +x j2re-1.4.2-03-linux-amd64.bin
debian:/opt# ./j2re-1.4.2-03-linux-amd64.bin
debian:/opt# ln -s /opt/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so /usr/lib64/iceweasel/plugins/libjavaplugin_oji.so
修改一下/etc/bash.bashrc
export J2REDIR=/opt/j2re1.4.2
export PATH=$PATH:$J2REDIR/bin
export MANPATH=$MANPATH:$J2REDIR/man
export CLASSPATH=$CLASSPATH:$J2REDIR/lib

重启一下就可以了。
debian:~# java -version
java version “1.4.2″
gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

哈哈,成了Free Software Foundation, Inc,真是有趣,开源不是很好吗?

打开dbs的internet-banking,可以了。
文章评论

共有 0 条评论