Weird jdk14 build

Jayton Garnett jay at
Sun May 1 04:34:44 PDT 2005


This weekend i've been reinstalling fbsd on my desktop and while
installing /usr/ports/java//jdk14 (yes i downloaded all the files from
sun and the patch-kit) While it was compiling I had a syntax error
something like expected "(" somewhere or other, but i noticed this
little message before that error:

Warning: This JDK may be unstable. You are advised to use the native
FreeBSD JDK, in ports/java/jdk14.

This Java VM will attempt to obtain some system information by
accessing files in linux's procfs.  You must install the Linux
emulation procfs filesystem for this to work correctly.  The JVM
will exhibit various problems otherwise.  This can be accomplished
by adding the following line to your /etc/fstab file:

 linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then, as root, executing the commands:

kldload linprocfs
mount /compat/linux/proc

Well thats just weird since i was in /usr/ports/java/jdk14 when
installing java.

I have since added that line to my fstab(so i dont have to do this next
time), loaded linprocfs and mounted /compat/linux/proc.
It is currently compiling fine now since i have done that, but could
anyone tell me why it says to use the native fbsd jdk14 when i was using
it in the first place and it wanted me to enable linux proc compat. ?

Is it just that they need to update the build messages for the native
fbsd jdk14?
Pitty there are no packages for this.

Jayton Garnett

More information about the freebsd-stable mailing list