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

Jorn Vernee jvernee at openjdk.java.net
Wed Jul 7 10:07:56 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.

This pull request has now been integrated.

Changeset: 77a5b7b2
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/77a5b7b27e36457cf63be45b3e4f120abad57d4a
Stats:     20 lines in 1 file changed: 12 ins; 2 del; 6 mod

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

Reviewed-by: mcimadamore, erikj

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

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


More information about the ide-support-dev mailing list