Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 09:22:07 -0700
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        freebsd-java@freebsd.org
Subject:   Re: java in jail on FreeBSD 6.1
Message-ID:  <DC21E8F8-0542-4290-B03D-65FB351456EF@shire.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DC21E8F8-0542-4290-B03D-65FB351456EF>