From owner-freebsd-java Tue Mar 18 11:28:43 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CA0A37B401 for ; Tue, 18 Mar 2003 11:28:42 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BD0E43FBD for ; Tue, 18 Mar 2003 11:28:39 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h2IJSbvm048392; Tue, 18 Mar 2003 11:28:37 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h2IJSbhv048391; Tue, 18 Mar 2003 11:28:37 -0800 (PST) Date: Tue, 18 Mar 2003 11:28:37 -0800 From: Shannon -jj Behrens To: Dave Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java as Root? Message-ID: <20030318192837.GA48173@alicia.nttmcl.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org There's a PR for this. There's a kernel patch to fix it. However, if I remember right, it's easiest to just make sure you use linux_base-6 instead of 7. Of course, I'm probably getting bugs confused :-/ Best Regards, -jj On Tue, Mar 18, 2003 at 11:21:44AM -0800, Dave wrote: > I downloaded JDK 1.4 off of the sunjava website. I had chosen the linux > version and my FreeBSD box is all ready to go for linux emu. > > I run java or javac, and I get a core. I was just about to delete them (I > had logged in root now to do the task) and I thought I would invoke them > one more time, and to my surprise they executed just fine. Surely it must > of been a path criss-cross I thought, but I checked it and I checked it > twice, and sure enough, my new JDK 1.4 won't let me run it except as root. > I even managed to compile a few test files. > > Naturally, I'm not about to go developing in root so I decided I'll just > use my wife's windows machine for the time being until I can get a lower > privileged account to work. > > What is up with this??? Has anyone else noticed? -- Hacker is to software engineer as Climbing Mt. Everest is to building a Denny's there. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message