From owner-freebsd-java@FreeBSD.ORG Fri Mar 3 20:55:58 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 BE31916A420 for ; Fri, 3 Mar 2006 20:55:58 +0000 (GMT) (envelope-from anatoli@aksoft.net) Received: from 26th.net (26th.net [217.79.183.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51CB543D5F for ; Fri, 3 Mar 2006 20:55:57 +0000 (GMT) (envelope-from anatoli@aksoft.net) Received: from [192.168.0.26] (t54fc451a.pool.terralink.de [84.252.69.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by 26th.net (Postfix) with ESMTP id 48A1620B418; Fri, 3 Mar 2006 21:55:55 +0100 (CET) Message-ID: <4408AD5A.8070108@aksoft.net> Date: Fri, 03 Mar 2006 21:55:54 +0100 From: Anatoli Klassen User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Greg Lewis References: <53108.217.79.183.193.1141389890.squirrel@control.26th.net> <20060303174856.GA80864@misty.eyesbeyond.com> <4408A985.1010903@aksoft.net> In-Reply-To: <4408A985.1010903@aksoft.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org 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: Fri, 03 Mar 2006 20:55:58 -0000 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. Regards, Anatoli