From owner-freebsd-java@freebsd.org Fri Feb 2 19:03:02 2018 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7346FEE9D45 for ; Fri, 2 Feb 2018 19:03:02 +0000 (UTC) (envelope-from daniel@otherware.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E9E637ADFC for ; Fri, 2 Feb 2018 19:03:01 +0000 (UTC) (envelope-from daniel@otherware.org) Received: by mailman.ysv.freebsd.org (Postfix) id A8DD8EE9D42; Fri, 2 Feb 2018 19:03:01 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84212EE9D41 for ; Fri, 2 Feb 2018 19:03:01 +0000 (UTC) (envelope-from daniel@otherware.org) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25A9E7ADF9 for ; Fri, 2 Feb 2018 19:03:01 +0000 (UTC) (envelope-from daniel@otherware.org) Received: by mail-vk0-x22f.google.com with SMTP id f186so14109245vkc.1 for ; Fri, 02 Feb 2018 11:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bretoi-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CBVTt+1bMxCbqV3JnLb3zBStSrbH02XpJ7IMm382y3o=; b=IwwYg1ktwSiO2Zc6ZUodDnbP3SCZFauyZO5J77VzmjclxK57dBZtkFa5rcUlgE/3r7 ZSY+/6KROGMJJcJ+Jvs+wS8A4iKUxVQDmOEs86Alwp08D2aZ46LDpNs1twHkdQVq3DnJ 4/BBsv9lO39v0cvvwJgybVYSTMj9IuKB7k8KuHHB7lT8eVs7uvhUFZ+JxzIseFY+TGaY XAFtPRi+LfQE1koC+Cgs3Wty8PP/8kkW8eoZUHaktv4urYtpxtb/BJ8aFdeZfNC+X5AI 2vDccfvREQ5k7xPvy+yalpsunX4SBEXEFg4C4X4Of1yfu21mxZpFzaij2dgBl1gvssgk tekg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CBVTt+1bMxCbqV3JnLb3zBStSrbH02XpJ7IMm382y3o=; b=ogyfnVY6cZKYiC6C8N6FM4bzXiLXYthw3SkunKxb0OnlJbGNcetEjNVmN8UsHwPtF2 7USS5KjG96+bxNfzYjkrHc0cNjIwZhtNqjV51cSqJldmFI3Ex9F2WSyNJ48NJaaapKBf +CDIJwevd6kUtLblP2eCIDAJtxxHFxwz1bdSk+XOBHdq+x66VW5ws8CV6gF7RoSkTMsX /qpUO/syBZRtnLB0zSAHyC7AIbrAoUDvIqBjTuNZ+tMDPcBrlbfqJAJGaD0ZkKuqufnj zoTWP0gzROjk7yPneBKrJ49WDcoDMe3jNuZS4N3y1R5u3ugrG9WPMXi/I5AavGJWjJ3E bLZw== X-Gm-Message-State: AKwxyterwm6MuujQhIu3Cl9z3WZNpNK60oPVGAEvYhawOONTU20t3+96 cprzeZthlFysLmX7OxqO908SCEo3BVTtt7zdhU2jCg== X-Google-Smtp-Source: AH8x225EFTJJnqPW9t84KWSrhoV6xoSQYeaMsQPR+RRtBVUw0UR8VolnIXqimGLUzOO9bPG56gjoFhyN7kZM0BMsoGM= X-Received: by 10.31.10.199 with SMTP id 190mr33663823vkk.46.1517598180426; Fri, 02 Feb 2018 11:03:00 -0800 (PST) MIME-Version: 1.0 References: <5d57fd25-88c4-43c9-52c1-acaa26cbee40@FreeBSD.org> In-Reply-To: From: Daniel Bretoi Date: Fri, 02 Feb 2018 19:02:49 +0000 Message-ID: Subject: Re: linux-oracle-jdk18-8.162 - FATAL: kernel too old To: Jung-uk Kim Cc: "java@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 19:03:02 -0000 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 On Thu, Feb 1, 2018 at 1:51 PM Jung-uk Kim 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@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 > > 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? > >