Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Task runPluginVerifier fails due to using wrong JDK path #895

Closed
fcurts opened this issue Feb 9, 2022 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@fcurts
Copy link

fcurts commented Feb 9, 2022

After updating from 1.2.1 to 1.3.1, task runPluginVerifier always fails with the following error:

[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.io.IOException: Cannot run program "/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/jdk/Contents/Home/bin/java" (in directory "/Users/xxx"): error=2, No such file or directory

The correct path is /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java. This is the default install location for Temurin (https://adoptium.net) on macOS.

Gradle 7.4 (same problem with 7.3), macOS 12.2

@hsz hsz self-assigned this Feb 10, 2022
@hsz hsz added this to the next milestone Feb 10, 2022
@hsz hsz added the bug label Feb 10, 2022
@hsz
Copy link
Member

hsz commented Feb 10, 2022

Thanks for reporting! It's fixed and will be released with 1.4.0.

@hsz hsz closed this as completed Feb 10, 2022
Salomon88 pushed a commit to Salomon88/gradle-intellij-plugin that referenced this issue Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants