-
Notifications
You must be signed in to change notification settings - Fork 270
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
Cannot download JetBrains Java Runtime jbr-11_0_5-linux-x64-b520.30. Cannot resolve builtin JBR 11_0_5b520.30. Falling local Java. #457
Comments
Can it be caused by 8c22267 ? |
I've submitted a bug for that Gradle plugin as well michel-kraemer/gradle-download-task#146 |
I've identified the cause here michel-kraemer/gradle-download-task#146 (comment) and fixed description of this issue. |
A new version of the Gradle Download Task has been released with the fix for this problem https://github.com/michel-kraemer/gradle-download-task/releases/tag/4.0.4 |
Hi Alexander, thank you for the report and investigation. 0.5-SNAPSHOT is on the way, 0.4.16 will be published in a couple days |
Hi @zolotov Awesome. Thank you! |
Hi. I have updated the dependency and it works now. Thank you! |
Hello. When I run my plugin using "runIde" task it fails to download JBR. This happens only if my project is located on a different partition (in my case it is even different SSD) than gradle home.
It happens because Gradle-Intellij-Plugin is using gradle-download-task which is using
File.renameTo
and it is not able to move files between partitions. See https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4073756I've opened an issue for the other Gradle plugin as well: michel-kraemer/gradle-download-task#146
Steps to reproduce:
rm -rf ~/.gradle/caches/modules-2/files-2.1/com.jetbrains/jbre/
./gradlew clean :runIde
Permissions on the folders look good:
Debug logs:
In fact if I try to move it manually it works and on the next run Gradle plugin is not trying to download JBR again.
The text was updated successfully, but these errors were encountered: