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

Jorn Vernee jvernee at openjdk.java.net
Mon Jul 5 18:05:19 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.

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


  - all: https://git.openjdk.java.net/jdk/pull/4656/files
  - new: https://git.openjdk.java.net/jdk/pull/4656/files/cd925bbf..90909fda

 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4656&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4656&range=02-03

  Stats: 26 lines in 1 file changed: 12 ins; 7 del; 7 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