On Mon, 5 Jul 2021 18:05:19 GMT, Jorn Vernee <jver...@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.
>
> 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

bin/idea.sh line 74:

> 72: if [ -e $IDEA_OUTPUT ] ; then
> 73:     rm -r $IDEA_OUTPUT
> 74: fi

Was getting some weird errors when the `.idea` folder already existed when 
running the script, so I added this. It seems useful, so I've left it in.

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

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

Reply via email to