Re: libreoffice

From: Gary Aitken <freebsd_at_dreamchaser.org>
Date: Tue, 08 Apr 2025 23:43:40 UTC
On 4/8/25 11:02, LuMiWa wrote:
> On FreeBSD 14.2-RELEASE-p1, use binary packages. Why libreoffice
> install openjdk17 and openjdk8, please?
> 
> pkg install libreoffice
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> Updating FreeBSD-kmods repository catalogue...
> FreeBSD-kmods repository is up to date.
> All repositories are up to date.
> The following 3 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
> 	libreoffice: 25.2.2.2 [FreeBSD]
> 	openjdk17: 17.0.14+7.1 [FreeBSD]
> 	openjdk8: 8.442.06.1_1 [FreeBSD]
> 
> Number of packages to be installed: 3
> 
> The process will require 912 MiB more space.
> 141 MiB to be downloaded.
> 
> Proceed with this action? [y/N]:

I'm running 13.4-RELEASE, and there I only see openjdk17:

$ pkg info -d libreoffice | grep jdk
         openjdk17-17.0.13+11.1

However, I also have mysql-connector-j installed for connecting to mysql,
and that depends on openjdk8:

$ pkg info -r openjdk8
openjdk8-8.432.06.1:
         junit-4.12
         hamcrest-1.3
         apache-commons-httpclient-3.1_3
         apache-commons-logging-1.2
         apache-commons-codec-1.16.0
         apache-ant-1.10.13_1
         mysql-connector-j-9.0.0
         protobuf-java-3.25.3
         slf4j-1.7.21
         c3p0-0.9.5.3
         pdftk-3.3.3_1
         bouncycastle-1.71_1
         apache-commons-lang3-3.17.0
         javamail-1.6.2_1

Not sure if that explains what you're seeing or not.

Gary