JDK14のインストールにはまる
portsからJDK14を入れようとしたら、2つ、躓きました。
一つ目が、なぞのコードです。
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData. java:1: 'class' or 'interface' expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData. java:1: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ 2 errors
これの解決策は http://lists.freebsd.org/pipermail/freebsd-java/2004-July/002568.html にありました。
確かに、
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java
の
1行目にJava HotSpot(TM) Client VM warning: Can't detect initial thread stack location
ってあったので削除。
なんなんだろ…。
二つ目が、linprocfsのマウントです。
You may do it by following set of commands: # kldload linprocfs and # mount -t linprocfs linprocfs /compat/linux/proc
って出ます…。で、kldload linprocfs
を実行したら、
Operation not permitted
って怒られます。もうわけわかんない。キれて、/etc/fstab
に直接書き込んでみました。
linprocfs /compat/linux/proc linprocfs rw 0 0
うまくいくやん…。
何なんだろう…。