From owner-freebsd-stable@FreeBSD.ORG Sun May 1 13:20:57 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F47916A4CE for ; Sun, 1 May 2005 13:20:57 +0000 (GMT) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36D0B43D1F for ; Sun, 1 May 2005 13:20:57 +0000 (GMT) (envelope-from freebsd-stable-local@be-well.no-ip.com) Received: (qmail 16422 invoked from network); 1 May 2005 13:20:56 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 May 2005 13:20:56 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 52E5A55; Sun, 1 May 2005 09:20:55 -0400 (EDT) Sender: lowell@be-well.ilk.org To: jay@codegurus.org References: <20050430120037.5448916A4DF@hub.freebsd.org> <1114947298.71683.17.camel@jayton.ath.cx> From: Lowell Gilbert Date: 01 May 2005 09:20:55 -0400 In-Reply-To: <1114947298.71683.17.camel@jayton.ath.cx> Message-ID: <443bt7rsjs.fsf@be-well.ilk.org> Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-stable@freebsd.org Subject: Re: Weird jdk14 build X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2005 13:20:57 -0000 Jayton Garnett writes: > 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? No; you need to use Java to build Java. Therefore, the procedure is to use the precompiled Linux jdk to build the native one. Once the native one is built, you can remove the Linux one. > Pitty there are no packages for this. Yes. But it's not free software, so that's the way it goes.