-
Notifications
You must be signed in to change notification settings - Fork 272
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 #367
Comments
To clarify: it breaks my project because the IDE falls back to an old version of the JDK (jdk1.8.0_51.jdk) that is installed on my machine, which causes this issue. |
please show your |
Gradle config: https://github.com/antlr/intellij-plugin-v4/blob/master/build.gradle It looks like there's an extra 8: jbrex88u152b1343.26_osx_x64 |
When I understand the docs correctly, then you can set the jbre youself and fix the bug until it is fixed in the repo. Got to Bintray and check the correct version of the jdk. In your tasks {
withType(org.jetbrains.intellij.tasks.RunIdeTask::class) {
jbreVersion("u202b1483.27")
}
} |
@halirutan just in case, docs also say that |
I'm not familiar at all with this codebase, but looking at the recent commits I see this: if (oldFormat) {
majorVersion = !majorVersion.startsWith('jbrex8') ? "jbrex8${majorVersion}" : majorVersion
return "${majorVersion}b${buildNumber}_${platform()}_${arch(false)}"
} I suspect the double |
This line is alright |
@zolotov I understood this. That's why I wrote workaround (as in, quick fix until the automatic selection is fixed).
For 8u152 yes, but on my machine, the exception states that it tries to use a later version which it cannot find: Anyway, thanks for looking into this. |
In case I can be of any help, I can reproduce the problem on a Windows machine. The workaround is very simple: use version |
@halirutan you have to look for the build number ( |
@halirutan workaround is to use documented format, do not suggest other users non-supported formats, please. @bjansen thanks, I can easily recreate this on IC-2018.3.2.
After all, it looks like it's better to change exactly this line in order to support more possible inputs, since more renaming are coming :( |
I am not using or checking these Bintray files regularly. As I said, I looked at the latest 1483.27 version and for this version:
|
@halirutan It doesn't mean that it's a good idea to promote unsupported API. The only thing I ask you is not to do it. You free to use anything of course, just don't suggest doing it other users. Thank you. There are other workarounds to use. For you – upgrade the plugin and use |
Upgrade to 0.4.4 for JetBrains/intellij-platform-gradle-plugin#367 fix
It would seem the gradle-build-plugin is not resolving the latest version correctly due to a defect - see JetBrains/intellij-platform-gradle-plugin#367
Hi,
Following advice given on Gitter and Twitter, I upgraded the plugin from version 0.3.12 to 0.4.3 in one of my projects, but I get errors while running the
runIde
task:Wasn't version 0.4.3 supposed to fix this exact kind of problem?
The text was updated successfully, but these errors were encountered: