RFR: 8269761: idea.sh missing .exe suffix when invoking javac on WSL
mcimadamore at openjdk.java.net
Thu Jul 1 16:12:58 UTC 2021
On Thu, 1 Jul 2021 15:02:03 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.
Question though: with WSL, the boot JDK could also be a Linux JDK, no? If that's the case, then the .exe suffix would be bad?
Marked as reviewed by mcimadamore (Reviewer).
More information about the ide-support-dev