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

openjdk-notifier [bot] "github.com+73116608+openjdk-notifier[bot]" at openjdk.java.net
Mon Jul 5 10:31:13 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.

The dependent pull request has now been integrated, and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:


git checkout Idea_Cygpath
git fetch https://git.openjdk.java.net/jdk master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push

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

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


More information about the ide-support-dev mailing list