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

idea.sh script doesn't work on WSL 1 and 2

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: infrastructure
    • Labels:
      None
    • Resolved In Build:
      b09

      Description

      The bin/idea.sh script doesn't work on WSL 1 and 2.

      mv: cannot stat '/mnt/c/jdk/.idea/classes/idea/JdkIdeaAntLogger$MessageKind.class.tmp': No such file or directory
      mv: cannot stat '/mnt/c/jdk/.idea/classes/idea/JdkIdeaAntLogger$StatusEvent$StatusTask.class.tmp': No such file or directory
      bin/idea.sh: 1: eval: cannot create /mnt/c/jdk/.idea/classes/idea/JdkIdeaAntLogger/mnt/c/jdk/.idea/classes/idea/JdkIdeaAntLogger$StringBinaryPredicate$1.class.class.tmp: Directory nonexistent
      ....


      There are three issues.

      1) this script use javac, however, there is javac.exe in boot JDK instead of javac.
      2) javac.exe in Windows directory uses ant.jar in WSL directory
      3) paths used in this script are on WSL, however, IDEA uses Path on Windows

        Attachments

          Activity

            People

            • Assignee:
              cito Chihiro Ito
              Reporter:
              cito Chihiro Ito
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: