Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 May 2005 12:34:58 +0100
From:      Jayton Garnett <jay@codegurus.org>
To:        freebsd-stable@freebsd.org
Subject:   Weird jdk14 build
Message-ID:  <1114947298.71683.17.camel@jayton.ath.cx>
In-Reply-To: <20050430120037.5448916A4DF@hub.freebsd.org>
References:  <20050430120037.5448916A4DF@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

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.


Cheers,
 
Jayton Garnett




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1114947298.71683.17.camel>