Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2026 21:41:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 296414] java/openjdk25: flavor headless doesn't get used
Message-ID:  <bug-296414-8522-IIzoFHsfeD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-296414-8522@https.bugs.freebsd.org/bugzilla/>

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

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

--- Comment #1 from Robert William Vesterman <bob@vesterman.com> ---
A little more info:

It occurred to me that maybe I also had to rebuild the things that depend upon
openjdk25, so I:

* Uninstalled all packages that I explicitly want (as opposed to dependencies)
that use Java, those being maven, mysql-connector-j, nexus2-oss, and pdftk;

* Uninstalled openjdk25 and openjdk8, the latter of which I was surprised was
installed;

* "pkg autoremove" rinse and repeat until nothing remained to be removed;

* Deleted all packages of all three of the above categories from my package
repository (which is build using Synth);

* Told Synth to build the four things from the first category plus
openjdk25@headless.

Synth wound up building all of that *plus* openjdk25@jdk *and* openjdk8.

I was surprised by both. First, while everything was building , I briefly
looked into the openjdk8 thing: At least according to FreshPorts, it seems to
explicitly be set as a runtime dependency by nexus2-oss for some reason.

Then I told pkg to install each of the four things in the first category
(individually, i.e. four separate "pkg install" commands), and answered "n" to
the "Proceed with this action?" question, so that I could see what each one of
them is wanting:

* openjdk8 is wanted by nexus2-oss, as mentioned above.

* The package created by openjdk25@jdk is wanted by all four of them (including
nexus2-oss, even though it also wants openjdk8).

* The package created by openjdk25@headless is wanted by none of them.

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

home | help

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