JDK1.5 のインストール その3

 今朝VMware上のFreeBSDを見てみると

===>  Installing for jdk-1.5.0p2_1
===>   jdk-1.5.0p2_1 depends on executable: javavm - found

Please use `make -DWITH_DEBUG' if you want to install libraries and binaries
with debugging support.

===>   Generating temporary packing list
===>  Checking if java/jdk15 already installed
/bin/mkdir -p /usr/local/jdk1.5.0
cd /usr/ports/java/jdk15/work/control/make/../build/bsd-i586/j2sdk-image && /usr/bin/find . 
 | /usr/bin/cpio -pdmu -R root:wheel /usr/local/jdk1.5.0
214641 blocks
===>   Registering installation for jdk-1.5.0p2_1
===> 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.5.0/jre/lib/i386/libnio.so
/usr/local/jdk1.5.0/jre/lib/i386/motif21/libmawt.so
/usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so
/usr/local/jdk1.5.0/jre/lib/i386/libnet.so
/usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so
/usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so
/usr/local/jdk1.5.0/jre/lib/i386/libdt_socket.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/
===>  Cleaning for rpm-3.0.6_10
--snip--
===>  Cleaning for jdk-1.5.0p2_1

tmkbsd# find / -name java
/usr/local/bin/java
/usr/local/share/java
/usr/local/linux-sun-jdk1.5.0/jre/bin/java
/usr/local/linux-sun-jdk1.5.0/bin/java
/usr/local/jdk1.5.0/jre/bin/java
/usr/local/jdk1.5.0/bin/java
/usr/ports/java

tmkbsd# /usr/local/jdk1.5.0/bin/java -showversion
java version "1.5.0-p2"
tmkbsd# /usr/local/linux-sun-jdk1.5.0/bin/java -showversion
java version "1.5.0_05"
tmkbsd#

なので、インストールは出来たみたい。しかしコンパイル(BootStrap?)に必要だからLinux互換機能を使うlinux-sun-jdk1.5をインストールしておいて、終ったにも関わらずそのまま残っているのが気になります。途中でコケたときにcleanしたのがマズかったのか?


 まあ、JAVA_HOMEで切替て使えば良いのか。


 では次はJBossだな。