From owner-freebsd-java@FreeBSD.ORG Mon Mar 6 16:22:11 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2708116A422 for ; Mon, 6 Mar 2006 16:22:11 +0000 (GMT) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id D73CA43D45 for ; Mon, 6 Mar 2006 16:22:10 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FGITH-00007x-Tc for freebsd-java@freebsd.org; Mon, 06 Mar 2006 09:22:08 -0700 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <4408AD5A.8070108@aksoft.net> References: <53108.217.79.183.193.1141389890.squirrel@control.26th.net> <20060303174856.GA80864@misty.eyesbeyond.com> <4408A985.1010903@aksoft.net> <4408AD5A.8070108@aksoft.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Mon, 6 Mar 2006 09:22:07 -0700 To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.746.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: Re: java in jail on FreeBSD 6.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 16:22:11 -0000 On Mar 3, 2006, at 1:55 PM, Anatoli Klassen wrote: > Anatoli Klassen wrote: >> Greg Lewis wrote: >>> On Fri, Mar 03, 2006 at 01:44:50PM +0100, Anatoli Klassen wrote: >>>> I cann't start jdk-1.5.0p2_6 in jail on FreeBSD 6.1-PRERELEASE: >>>> >>>> # java -version >>>> Error: could not find libjava.so >>>> Error: could not find Java 2 Runtime Environment. >>>> >>>> but the same package works fine without jail. And it worked in >>>> jail on 5.4. >>>> >>>> Does somebody know what going wrong? >>> >>> Use ktrace and see if its looking in the right place for libjava.so. >>> > > I have just found the solution - unmount procfs in the jail. > Good work. I was having problems INSTALLING the 1.5 jdk port inside a jail with the same symptoms as you had in running. So I did what you suggested above and the install completed! Good work! Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net