Why are java and javac included in the prebuilt binaries?

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Oct 2 12:13:54 UTC 2023


Hi,
While removing javac should be doable, I think dropping the java 
launcher is more problematic, as that launcher is called by the jextract 
launcher.

So, doing something like that would require a deeper restructuring of 
the build layout I'm afraid.

Maurizio

On 02/10/2023 10:44, Oliver Weiler wrote:
> Hi everyone!
>
> A few users of SDKMAN! have requested to add jextract as a new 
> candidate to SDKMAN!. After adding some of the prebuilt versions, we 
> realized that the bin/ directory contains java and javac in addition 
> to jextract itself.
>
> The problem is that SDKMAN! adds the path of jextract's bin/ directory 
> to the PATH, which collides the java and javac versions SDKMAN!s 
> respective Java candidate.
>
> Would it be possible to remove java/javac from the prebuilt binaries?
>
> Best regards,
> Oliver


More information about the jextract-dev mailing list