Java の実行時エラー

sun6-java を実行するときに、下のようなエラーが出る。

$ /usr/pkg/bin/sun6-java
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
...

/emul/linux/proc が必要らしい。MESSAGE に書いてあった。

$ pkg_info -D sun-jre6
...
In order to be able to run the JVM, you need to add the following line
to your /etc/fstab:
procfs /emul/linux/proc procfs rw,linux
...