-
Notifications
You must be signed in to change notification settings - Fork 102
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
No mentioning of required Java 11 in release notes #285
Comments
Oh god, I didn't think people we're using JDK 8 for launching Intellij... I guess I'll have to revert. |
Thanks @epkanol for the issue |
No worries, @dubreuia , it's an awesome plugin! |
Hey @epkanol, doesn't JDK11 comes bundled with Intellij? How do you launch it? |
/usr/lib64/jvm/8u202/bin/java -classpath /opt/idea-IC-191.6183.87/lib/bootstrap.jar.... Probably because and so on... Unsetting JAVA_HOME and restarting Idea via the shell script (and checking via /proc.../environ that JAVA_HOME is indeed unset) confirms that it will still use my installed Java 8 installation: So I'd say that they'd use any Java 8 environ that they find on the host system (and, obviously, mine has a working JDK 8 in the default place), and use that. I'll consider upgrading to JDK 11, only trouble is the additional failure modes that would come due to different libraries (our app is still delivered on JDK 8). I know that JDK 11 can still compile JDK8-style, I'm more worried about libraries and exotic dependencies... |
Found answer myself :) |
Yeah I was about to answer you for the rollback, that's the way to go. I'll rollback the changes over the weekend and notify you when 1.9.0 gets released so that you can upgrade. YSK: Intellij comes bundled with the Jetbrain Runtime (JBR) which is a JDK11 (https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime). But I guess you aren't needed to use it... Here's the bootstrap when downloading from the website, in my case the JDK that is used is in the "jbr" folder from the downloaded tar. bin/idea.sh
Unfortunately, I cannot compile to target 8 using 11 (https://stackoverflow.com/questions/55603018/how-to-compile-with-java-11-target-java-1-8-in-intellij) |
End of life for Java 8: January 2019 for Oracle (commercial) Oh god... 😥 |
I know :) I'll take this as (yet) another reason to upgrade. But it'll take some time... |
Using the following gradle config I can build in JDK11 with target Java 8. But I lose new languages features. I'll stick to that for now.
|
Released in 1.9.0. |
I will probably discontinue support for JDK8 soon, given that Intellij ships with its own JDK11. I fixed the issue for now. |
I just use the JetBrains ToolBox to start IntelliJ and in my Project Settings I choose Java 8 compatibility.
in my gradle config file. Runs very well in Kubernetes with only Java 8 in our company. I don't need complicated terminal line executions to start IntelliJ via its bootstrap.jar |
Yeah, but I'd like to use Java 11 functionalities. |
I mean I have the OpenJDK 11 installed on my development machine at the same time. |
Describe the bug
Running Idea with JDK 8 (or any JDK earlier than 11, ClassFileVersion 55.0) will render the SaveActions plugin unusable (disabled)
What triggered the plugin
Auto-updating to version 1.8.0+2019.3
No warning on incompatibilities, no apparent way to revert back to old plugin version (which worked awesome)
Versions
IntelliJ IDEA 2019.3 (Community Edition)
Build #IC-193.5233.102, built on November 28, 2019
Runtime version: 1.8.0_202-b32 amd64
VM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Linux 4.15.0-72-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 4029M
Cores: 8
Registry:
Non-Bundled Plugins: org.intellij.scala, com.jetbrains.edu, google-java-format, org.nik.presentation-assistant
The text was updated successfully, but these errors were encountered: