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

Jorn Vernee jvernee at openjdk.java.net
Thu Jul 1 15:10:22 UTC 2021


>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.

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

Depends on: https://git.openjdk.java.net/jdk/pull/4655

Commit messages:
 - Add .exe suffix when invoking javac on WSL

Changes: https://git.openjdk.java.net/jdk/pull/4656/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4656&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8269761
  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4656.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4656/head:pull/4656

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


More information about the ide-support-dev mailing list