[External] : Re: Draft JEP, "JDK packaging guidelines"

Alexey Semenyuk alexey.semenyuk at oracle.com
Thu Mar 3 19:05:04 UTC 2022



On 3/3/2022 4:26 AM, Michael Hall wrote:
>
>> On Mar 2, 2022, at 2:31 PM, Alexey Semenyuk <alexey.semenyuk at oracle.com> wrote:
>>
>> Michael,
>>
>> The JEP doesn't have a goal to define protocol of picking JDK from many installed. It provides recommendations to avoid conflicts between them. It covers installation directory names, package names, and other elements of packages that can be in conflict.
>>
>> - Alexey
>>
> Alexey,
>
> Standardizing the naming conventions is probably not a bad thing. Although simply including the vendor name seems like it would be sufficient to avoid conflicts. For OS X Amazon Corretto (amazon-corretto-17.jdk),  and Azul Zulu (zulu-17.jdk), both appear to do this. Graal also includes a id (graalvm-ce-java11-21.1.0).
The installation directory name is not the only attribute of JDK 
installer. The JEP covers other platform-specific attributes that are 
not so obvious spots of conflict.
This JEP is supposed to be one of the documents to read before doing JDK 
packaging so that the authors can build a package that will fit smoothly 
among existing JDK packages.

> But developers would still need to be aware as you indicate that the scope of the change doesn’t do anything to resolve what jdk they are using on OS/X. This still strictly depends on what is determined to be the most recent version, whatever vendor.
Correct.

- Alexey


More information about the jdk-dev mailing list