linux-oracle-jdk18-8.162 - FATAL: kernel too old

Jung-uk Kim jkim at FreeBSD.org
Fri Feb 2 19:54:14 UTC 2018


On 02/02/2018 14:02, Daniel Bretoi wrote:
> Thank you :) Yes it was set to an older version. I had tried asking what
> the latest was not realizing it would use the latest if I comment it
> out. I don't remember why I had commented at this point. I commented it
> out and reloaded all the linux kernel modules (including linproc) and
> verified that the version is correct with sysctl.
> 
> Now I get this error instead
> 
> java -version
> /usr/local/linux-oracle-jdk1.8.0/bin/java: error while loading shared
> libraries: libjli.so: cannot open shared object file: No such file or
> directory
> 
> they seem to exist:
> 
> find /usr/local/linux-oracle-jdk1.8.0 | ag libjli
> /usr/local/linux-oracle-jdk1.8.0/lib/i386/jli/libjli.so
> /usr/local/linux-oracle-jdk1.8.0/jre/lib/i386/jli/libjli.so

I guess you haven't mounted linprocfs(5).  Please see pkg-message.

Jung-uk Kim

> On Thu, Feb 1, 2018 at 1:51 PM Jung-uk Kim <jkim at freebsd.org
> <mailto:jkim at freebsd.org>> wrote:
> 
>     On 02/01/2018 15:41, Daniel Bretoi wrote:
>     > Thanks for the quick response
>     >
>     > $ uname -a
>     > FreeBSD luffy 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14
>     > 06:12:40 UTC 2017   
>     >  root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 
>     amd64
>     >
>     > $ sysctl  compat.linux.osrelease
>     > compat.linux.osrelease: 2.6.18
> 
>     Ah, current default is 2.6.32.  I guess you're downgrading the release
>     for some reason?  Maybe it's a leftover from old version?  Can you check
>     your /etc/sysctl.conf?
> 
>     Jung-uk Kim
> 
>     > On Thu, Feb 1, 2018 at 12:17 PM Jung-uk Kim <jkim at freebsd.org
>     <mailto:jkim at freebsd.org>
>     > <mailto:jkim at freebsd.org <mailto:jkim at freebsd.org>>> wrote:
>     >
>     >     On 02/01/2018 13:44, Daniel Bretoi wrote:
>     >     > hi,
>     >     >
>     >     > I've reached out on the forums but I've received no response.
>     >     >
>     >     > Does anyone on this list know why this the following is
>     happening?
>     >     >
>     >     > $ java -version
>     >     > FATAL: kernel too old
>     >
>     >     I guess your kernel is too old as it says:
>     >
>     >     % /usr/local/linux-oracle-jre1.8.0/bin/java -version
>     >     java version "1.8.0_162"
>     >     Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
>     >     Java HotSpot(TM) Server VM (build 25.162-b12, mixed mode)
>     >
>     >     What's your FreeBSD version?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-java/attachments/20180202/2601ca0e/attachment.sig>


More information about the freebsd-java mailing list