*java on FreeBSDインストール備忘録 [#ba4cecd7] #contents -[[Computer/FreeBSD]](FreeBSDインストール備忘録) **diablo-jdk15 [#b30dd898] http://journal.mycom.co.jp/news/2006/04/06/342.html # portinstall java/diablo-jdk15 [Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 88 packages found (-0 +3) ... done] ** Port marked as IGNORE: java/diablo-jdk15: :\n Because of licensing restrictions, you must fetch the distribution\n manually. Please access\n \n http://www.FreeBSDFoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.5.0_07-b00.tar.bz2\n \n with a web browser and \"Accept\" the End User License Agreement for\n \"Caffe Diablo 1.5.0\". Please place the downloaded\n diablo-caffe-freebsd6-i386-1.5.0_07-b00.tar.bz2 in /usr/ports/distfiles.\n 上記ファイルをdistfilesに入れたあと再度portinstallを実行。 **tomcat55 [#e0db5a9d] # portinstall www/tomcat55 /etc/profileに以下の文言を追加。←どうやらZSHから見てない気もするので要確認 #java settings export JAVA_HOME=/usr/local/diablo-jdk1.5.0 export PATH=$PATH:$JAVA_HOME/bin 起動は以下の通り。 #/usr/local/tomcat5.5/bin/shutdown.sh ※/usr/local/etc/rc.d/tomcat55 startでも起動できるはずだが何もおこらない **jdk5インストールログ(途中で中断) [#z693cb31] ベータ版である旨の表示が出たこと、またjdk1.4.2のファイルを要求されたことから途中で中断。以下は中断時のログ。 ===> jdk-1.5.0p3_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not found ===> Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in /usr/ports/java/linux-sun-jdk14 ===> linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_12-oth-JPR&SiteId=JSC&TransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/java/jdk15. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall7275.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! java/jdk15 (unknown build error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed |