Just a stabilization request for IntelliJ IDEA (dev-util/idea-community) 2021.3.1
Dependencies that would need to be stable: dev-java/openjdk:11 dev-java/openjdk-bin:11
I guess the existence of 2021.3.1.203.6682.168 version in Gentoo tree is a mistake. When I look at https://www.jetbrains.com/idea/download/other.html I see that the last version of Idea is 2020.3.2 with build: 203.7148.57. Shall we remove 2021.*?
I dont know why but from this weekend after the last update I have this bug that cant let me open idea-community: idea-community Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: com/intellij/idea/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601) Somehow idea is run with java 8 insteaad java 11. Can somebody check this? Do I need to open another ticket? thanks.
I could workaround this problem with this command: IDEA_JDK=/opt/openjdk-bin-11 idea-community
A couple of reasons I think we should off on this. 1. Dependencies idea-community depends on packages that have no stabilization in sight. See: java. 2. This package has a lot of releases, and we would be stuck holding onto old versions while waiting on some of the slower speed stabilizing archs to respond. For an example, see the old versions of gentoo-sources I am forced to keep. If java gets stabilized, I'd be happy to revisit this.
(In reply to Mike Pagano from comment #5) > If java gets stabilized, I'd be happy to revisit this. fwiw this has to happen for libreoffice sooner than later, see bug #788112 and bug #788118 Not to say should or shouldn't do this wrt #2