Currently, the Makefile of devel/jetbrains-clion has in it: > JAVA_VERSION= 17+ While CLion itself works with java 17, many plugins don't anymore as they are built with runtime >=65. One example is the ideavim plugin: > error: com/maddyhome/idea/vim/listener/IdeaSpecifics$VimActionListener has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0, Does it make sense to bump JAVA_VERSION to at least 21? This might apply to other */jetbrains-* ports as well.
I set my poudriere's default java version to 21 and JetBrains tools have been working fine for me since then.
Created attachment 260702 [details] jetbrains-clion.diff Please check this patch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6d1f38e578e6973ea284893c34fdbcf36486c567 commit 6d1f38e578e6973ea284893c34fdbcf36486c567 Author: Dmitry Wagin <dmitry.wagin@ya.ru> AuthorDate: 2025-05-28 13:03:59 +0000 Commit: Joel Bodenmann <jbo@FreeBSD.org> CommitDate: 2025-05-28 13:03:59 +0000 devel/jetbrains-clion: Bump JAVA_VERSION This bumps the JAVA_VERSION from 17 to 21 as many plugins are now requiring java runtime >=65. While here, also disable automatic update checks. PR: 286741 Reported by: jbo devel/jetbrains-clion/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Committed - Thanks!