Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2000 17:58:58 +0000
From:      Patrick Gardella <patrick@freebsd.org>
To:        "Koster, K.J." <K.J.Koster@kpn.com>
Cc:        "'Ilya Krel'" <ilya@krel.org>, "'FreeBSD Java mailing list'" <freebsd-java@freebsd.org>
Subject:   Re: linux-jdk
Message-ID:  <3A01AB62.1167911D@freebsd.org>
References:  <59063B5B4D98D311BC0D0001FA7E4522026D7996@l04.research.kpn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Koster, K.J." wrote:
> 
> CC'd to -java for obvious reasons.
> 
> >
> > I am running linux-jdk port 1.2.2
> > Yesterday I upgraded my Free to 4.2 beta and now when i try
> > to start any program in jdk i get :
> > ./java
> > Can't load library
> > "/usr/local/linux-jdk1.2.2/jre/lib/i386/libjava.so",
> > because /usr/local/linux-jdk1.2.2/jre/lib/i386/libjava.so: cannot
> > open shared object file: Too many open files
> > Could not create the Java virtual machine.
> > jdk 1.8 works fine. I am not sure if the problem is in jdk or
> > linux compat.

Neither, probably.

You might want to run df -I and see if you are using all of your
inodes.  If
you are not using all of your inodes then you may want to increase the
MAXUSERS in your kernel config and recompile the kernel.

Or also try:

/sbin/sysctl kern.maxfiles 

Patrick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A01AB62.1167911D>