Plug-in hita 4.10Rで 2005ー1ー16
参考
http://mibai.tec.u-ryukyu.ac.jp/docs/JavaPlugin-on-FreeBSD-Mozilla.html
入手
http://www.sun.com/software/communitysource/j2se/java2/download.html
user :
mnyukaz1 pass : mxxxxxxx1
・必要なソースファイル
http://www.sun.com/software/java2/download.html から
j2sdk-1_3_1-src.tar.gz
http://www.eyesbeyond.com/freebsddom/java/jdk13.html から
bsd-jdk131-patches-9.tar.gz
diablo-caffe-1.3.1-0.tar.bz2
http://www.FreeBSDFoundation.org\
/cgi-bin/download.cgi?package=diablo-caffe-1.3.1-0.tar.bz2
/usr/ports/java/jdk13/ でmakeの場合
http://www.sun.com/software/java2/download.html から
j2sdk-1_3_1-src.tar.gz 必要
16#make /usr/ports/java/jdk13/ で
makeの場合
===> jdk-1.3.1p9_4 :
Because of licensing restrictions, you must fetch the source
distribution
manually. Please access
http://www.sun.com/software/java2/download.html
with a web browser and follow the "Download" link for the
"Java(TM) SDK 1.3.1". You will be required to log in and register,
but you can create an account on this page. After
registration and
accepting the Sun Community Source License, select "J2SESDK" and
download the source file, j2sdk-1_3_1-src.tar.gz.
Please
place this file in
/usr/ports/distfiles. まだ出来ない
16#make
j2sdk-1_3_1-src.tar.gzを置き
===> jdk-1.3.1p9_4 :
The source distribution exists on your system, but due to
licensing restrictions you still need to download the
patchset, bsd-jdk131-patches-9.tar.gz, from
http://www.eyesbeyond.com/freebsddom/java/jdk13.html.
Please place the patchset in /usr/ports/distfiles.
http://www.eyesbeyond.com/freebsddom/java/jdk13.html
からpatchset
を取る
makeしていると次のエラーが出る
Because of licensing restrictions, you must fetch the distribution
manually. Please access
http://www.FreeBSDFoundation.org/cgi-bin/download.cgi?package=diablo-caffe-1.3.1-0.tar.bz2
with a web browser and "Accept" the End User License Agreement for
"Caffe Diablo 1.3.1". Please place the downloaded
diablo-caffe-1.3.1-0.tar.bz2
in /usr/ports/distfiles. が無い
.*** Error code 1
Stop in /usr/ports/java/diablo-jdk13.
*** Error code 1
Stop in /usr/ports/java/jdk13.
diablo-caffe-1.3.1-0.tar.bz2 をdownloadedして
make
make install
/bin/rm -rf /usr/local/jdk1.3.1/jre/bin/i386/native_threads
To use the Java plugin with Mozilla you must create a
symbolic link from
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
to your Mozilla plugins directory, which is usually found at
/usr/X11R6/lib/mozilla/plugins
===> Registering installation for jdk-1.3.1p9_4
===> SECURITY REPORT:
This port has installed the following
files which may act as network
servers and may therefore pose a remote
security risk to the system.
/usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
/usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi_g.so
/usr/local/jdk1.3.1/lib/i386/libdt_socket.so
/usr/local/jdk1.3.1/jre/lib/i386/libdt_socket_g.so
If there are vulnerabilities in these
programs there may be a security
risk to the system. FreeBSD makes no
guarantee about the security of
ports included in the Ports Collection.
Please type 'make deinstall'
to deinstall the port if this is a
concern.
For more information, and contact
details about the security
status of this software, see the
following webpage:
http://www.freebsd.org/java/
成功 !!!!!
最後の仕上げ
/usr/X11R6/lib/mozilla/plugins/ に
./
flashplayer.xpt
libflashplayer.so* libnullplugin.so*
../
javaplugin.so@
libjavaplugin_oji.so@
等のファイルがあるここに
ln -s /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so .
をリンクさせる
mozillaを再起動したらいい