Date: Tue, 13 Dec 2022 15:33:54 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268358] devel/jetbrains-clion: give clion a hint to find JAVA_HOME Message-ID: <bug-268358-7788-U2wvj6qwbz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268358-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-268358-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268358 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D4fecb327597025f0cd4d809c128279f= 12dacd5b7 commit 4fecb327597025f0cd4d809c128279f12dacd5b7 Author: Dmitry Wagin <dmitry.wagin@ya.ru> AuthorDate: 2022-12-13 15:32:03 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-12-13 15:32:03 +0000 devel/jetbrains-clion: define default JAVA_HOME bin/clion tries to figure out the proper JAVA_HOME, while giving the user the ability to override it. This can lead to it picking up a too old Java version: > clion java.lang.UnsupportedClassVersionError: com/intellij/util/lang/PathClassLoader has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0 To fix this, make the ports tree fill in its JAVA_HOME into bin/clion. Users can still override it to something specific by overriding CLION_JDK: > env CLION_JDK=3D/some/other/jdk/installation clion PR: 268358 devel/jetbrains-clion/Makefile | 5 +++-- devel/jetbrains-clion/files/clion.desktop.in | 2 +- devel/jetbrains-clion/files/clion.in | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268358-7788-U2wvj6qwbz>