Why are java and javac included in the prebuilt binaries?
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
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
participants (2)
-
Maurizio Cimadamore
-
Oliver Weiler