FS#62146 - [intellij-idea-community-edition] Unable to switch boot JDK
Attached to Project:
Community Packages
Opened by neko259 (neko259) - Tuesday, 26 March 2019, 16:11 GMT
Last edited by Levente Polyak (anthraxx) - Thursday, 28 March 2019, 20:44 GMT
Opened by neko259 (neko259) - Tuesday, 26 March 2019, 16:11 GMT
Last edited by Levente Polyak (anthraxx) - Thursday, 28 March 2019, 20:44 GMT
|
Details
idea.sh file is replaced in this package and forces IDEA to
run with openjdk8 regardless of the system JDK and "switch
boot JDK" action. The comment says it's done so that the
user won't run IDEA with JDK older than 8, but in fact one
cannot run it even with latter versions of JDK such as 9-11.
This hardcode should either check if the system uses pre-8
version, or be completely removed and allow user to switch
JDK manually.
|
This task depends upon
Closed by Levente Polyak (anthraxx)
Thursday, 28 March 2019, 20:44 GMT
Reason for closing: Not a bug
Thursday, 28 March 2019, 20:44 GMT
Reason for closing: Not a bug
however, not sure if anything changed, maybe
PS: you can still set IDEA_JDK env var
PPS: the comment says "other than java 8" not "older than"
PS: I've tried different versions and can say that JDK11 really has some issues with loading the gradle project. 9 and 10 work fine with the latest version. Same for oracle JDKs.