我正在使用 Ubuntu WSL 和自制软件来安装 gradle。我收到以下错误:
xxx@DESKTOP-FKITRSQ:/mnt/c/users/xxx/Dropbox/ideaprojects/acaqd/ac-aqd$ brew install gradle
Updating Homebrew...
Warning: gradle 6.7.1 is already installed and up-to-date
To reinstall 6.7.1, run `brew reinstall gradle`
xxx@DESKTOP-FKITRSQ:/mnt/c/users/xxx/Dropbox/ideaprojects/acaqd/ac-aqd$ gradle
/home/linuxbrew/.linuxbrew/Cellar/gradle/6.7.1/libexec/bin/gradle: 185: exec: /home/linuxbrew/.linuxbrew/opt/openjdk/libexec/bin/java: Exec format error
我似乎在网上其他任何地方都找不到此错误。