Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8269761

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • infrastructure
    • b06

      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.

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: