RFR: 8269761: idea.sh missing .exe suffix when invoking javac on WSL [v4]

Erik Joelsson erikj at openjdk.java.net
Tue Jul 6 21:09:48 UTC 2021


On Mon, 5 Jul 2021 18:05:19 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> From the JBS issue:
>> 
>> At the end, idea.sh tries to invoke javac, but when running on WSL this results in the following error:
>> 
>>     bin/idea.sh: line 249: /mnt/c/progra~1/java/jdk-16/bin/javac: No such file or directory
>> 
>> Adding a .exe suffix to the javac path fixes this issue, which can be done just for WSL.
>
> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Make idea.sh work on WSL with a Linux boot JDK

Marked as reviewed by erikj (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/4656



More information about the build-dev mailing list