From owner-freebsd-questions@FreeBSD.ORG Sun Jan 30 06:53:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46B1D16A4CE for ; Sun, 30 Jan 2005 06:53:39 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B70B43D3F for ; Sun, 30 Jan 2005 06:53:38 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j0U6rMYs020777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Jan 2005 22:53:22 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j0U6rLws020775; Sat, 29 Jan 2005 22:53:21 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sat, 29 Jan 2005 22:53:21 -0800 From: "Loren M. Lang" To: John Message-ID: <20050130065321.GC16264@alzatex.com> References: <20050115210617.A20158@starfire.mn.org> <20050116041626.GB13042@osiris.chen.org.nz> <41E9F612.5030901@taborandtashell.net> <20050129100959.A858@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050129100959.A858@starfire.mn.org> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: Tabor Kelly cc: freebsd-questions@freebsd.org cc: Jonathan Chen Subject: Re: I need a cuppa... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 06:53:39 -0000 On Sat, Jan 29, 2005 at 10:10:00AM -0600, John wrote: > On Sat, Jan 15, 2005 at 09:05:22PM -0800, Tabor Kelly wrote: > > Jonathan Chen wrote: > > > On Sat, Jan 15, 2005 at 09:06:17PM -0600, John wrote: > > > > > >>OK, I must be dumb as a rock, because this has to have been discussed > > >>and documented 16 ways from Sunday, but I've looked in the FAQ, > > >>and looked in the Handbook, and I've gone through my copy of the > > >>latest edition of _The Complete FreeBSD_, but I simply do NOT get > > >>how to get Java support for FreeBSD. I don't need the JDK, unless > > >>that's the only way to get a viable JRE. > > > > > > > > > You can't get a separate 1.4+ JRE for FreeBSD, you need to install the > > > JDK; the JDK is available as a port in java/jdk14. > > > > > > Cheers. > > > > But make sure you have linprocfs mounted before you try to build it (and > > obviously linux emulation). > > > > PS- Linux emulation is for bootstrapping purposes. java/jdk14 requires > > java/linux-sun-jdk14 to compile, afterwards java/linux-sun-jdk14 can be > > safely removed. > > This whole process if VERY arcane and confusing for me! > > I have tried to follow the instructions, but of course, some parts > have moved forward during the interim. > > I have just done a cvsup of ports-all, because I couldn't find > the parts on Sun that were old enough to match 5.3-RELEASE (!!), > but having done all that, and signing all the license agreements, > and downloading the various files, it is STILL grabbing and > downloading stuff. > > I have linux.ko loaded, and I mounted linprocfs, but it is saying > things like: > ====================================================================== > Warning: This JDK may be unstable. You are advised to use the native > FreeBSD JDK, in ports/java/jdk14. This is because it's using linux-sun-jdk14 to bootstrap java/jdk14. Just ignore the message, it's only meant for people who are just installing the linux version. > > 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 > > ====================================================================== > > Should I be concerned? I thought I'd already done all the prereq's, > but it is still complianing. I AM DOING exactly what it says - I > got this output as a result of a "make" in /ports/java/jdk14. > > > Right now, it is grabbing all SORTS of linux distributions. > > basesystem, libelf, libacl, filesystem - it's as if I'm trying > to build all of Linux in my FreeBSD tree. > > This just doesn't seem right! > -- > > John Lind > john@starfire.MN.ORG > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C