java in jail on FreeBSD 6.1

Anatoli Klassen anatoli at aksoft.net
Fri Mar 3 12:55:58 PST 2006


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


More information about the freebsd-java mailing list