> $ sudo apt-get update
> $ sudo apt-get install java-package
> $ fakeroot make-jpkg jre-1_5_0_05-linux-i586.bin
> $ sudo dpkg -i sun-j2re1.5_1.5.0+update05_i386.deb
>
> とするだけで必要なリンクまで張ってくれるようですよ。
回答ありがとうございます。
目的は
http://www.shogidojo.com/dojo/dojoindex.htm
で将棋をするためです。
上の通りシェル-Konsoleでsudo -s を実行したあと試してみたのですが:
root@0[knoppix]# fakeroot make-jpkg jre-1_5_0_05-linux-i586.bin
You are real root -- unfortunately, some Java distributions have
install scripts that directly manipulate /etc, and may cause some
inconsistencies on your system. Instead, you should become a
non-root user and run:
fakeroot make-jpkg jre-1_5_0_05-linux-i586.bin
which will allow no damage to be done to your system files and
still permit the Java distribution to successfully extract.
Aborting.
root@0[knoppix]# sudo dpkg -i sun-j2re1.5_1.5.0+update05_i386.deb
dpkg: sun-j2re1.5_1.5.0+update05_i386.deb の読み込みエラーです(--install):
アーカイブにアクセスできません。: そのようなファイルやディレクトリはあ
りません。
以下のパッケージの処理中にエラーが発生しました:
sun-j2re1.5_1.5.0+update05_i386.deb
:となりうまくいきません。
>
> 手動でやるなら、
>
> $ chmod +x jre-1_5_0_05-linux-i586.bin
> $ ./jre-1_5_0_05-linux-i586.bin
>
> でホームディレクトリにインストールしておき、
>
> $ cd /usr/lib/mozilla-firefox/plugins
> $ sudo rm javaplugin_oji.so
> $ sudo ln -s ~/jre1.5.0_05/plugin/i386/ns7/libjavaplugin_oji.so .
も試したのですがjavaが作動してくれません。
よろしくおねがいします。
|