Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 2021 22:45:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 256477] cannot install java/openjdk11
Message-ID:  <bug-256477-8522-TJ3EVqNUbS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256477-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256477-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256477

--- Comment #14 from Klaus Küchemann <maciphone2@googlemail.com> ---
(In reply to lumiwa from comment #13)
yes, thanks for telling us the root cause of your bug :

root@freebsd:~ # sysctl kern.elf64.allow_wx=0
kern.elf64.allow_wx: 1 -> 0
root@freebsd:~ # /usr/local/bootstrap-openjdk11/bin/java -version
Error occurred during initialization of VM
Could not reserve enough space in CodeHeap 'non-nmethods' (2496K)
--
root@freebsd:~ # sysctl kern.elf64.allow_wx=1
kern.elf64.allow_wx: 0 -> 1
root@freebsd:~ # /usr/local/bootstrap-openjdk11/bin/java -version
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment (build 11.0.5+10-1)
OpenJDK 64-Bit Server VM (build 11.0.5+10-1, mixed mode)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256477-8522-TJ3EVqNUbS>