[Bug 256477] cannot install java/openjdk11

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 Jul 2021 22:45:58 UTC
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.