Java portgroup default fallback?
nils at breun.nl
Fri Feb 24 00:50:18 UTC 2023
The built-from-source openjdk11 and openjdk17 ports have arm64 support. The openjdk8 port doesn’t though. If you want Java 8 on arm64, you can install openjdk8-zulu (Azul Zulu OpenJDK) or openjdk8-corretto (Amazon Corretto).
> Op 23 feb. 2023, om 22:22 heeft Kirill A. Korinsky via macports-dev <macports-dev at lists.macports.org> het volgende geschreven:
> Keep in mind that for M1 you probably need zulu JVM.
> wbr, Kirill
>> On 23. Feb 2023, at 21:48, Joshua Root <jmr at macports.org> wrote:
>> Does anyone know why there is no default value for java.fallback? The assumption appears to be that if a port is using this portgroup, it requires Java, since it errors out in pre-fetch if no Java is found. So it seems like having no fallback by default is just causing builds to fail unnecessarily.
>> If a default fallback is appropriate, what should it be? My initial impression is that the latest LTS openjdk that works on the current OS would be reasonable.
>> - Josh
More information about the macports-dev