[Bug 256477] cannot install java/openjdk11

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 20 Jun 2021 22:46:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256477

Klaus Küchemann <maciphone2@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maciphone2@googlemail.com

--- Comment #4 from Klaus Küchemann <maciphone2@googlemail.com> ---
(In reply to lumiwa from comment #0)
<<......configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk11
is incorrect JDK version (Error occurred during initialization of VM);
ignoring configure: (Your Boot JDK version must be one of: 10 11).....>>

your bug-report is not reproducible :

----check: ----
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)

--port-installation :---
....
checking for version string... 11.0.11+9-1
configure: Found potential Boot JDK using configure arguments
checking for Boot JDK... /usr/local/bootstrap-openjdk11
checking Boot JDK 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) 
checking for java in Boot JDK... ok
...
-----

wherever your bug comes from you could e.g. simply do :

root@freebsd:~ # rm -rf /usr/local/bootstrap-openjdk11
root@freebsd:/usr/ports/java/bootstrap-openjdk11 # make clean
root@freebsd:/usr/ports/java/bootstrap-openjdk11 # make deinstall reinstall
clean

.....

good luck

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