java in jail on FreeBSD 6.1

Chad Leigh -- Shire.Net LLC chad at shire.net
Mon Mar 6 08:22:11 PST 2006


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





More information about the freebsd-java mailing list