ports/devel/jetbrains-clion/files/clion.desktop.in
Dmitry Wagin 4fecb32759 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=/some/other/jdk/installation clion

PR:		268358
2022-12-13 16:32:03 +01:00

12 lines
265 B
Desktop File

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=CLion
GenericName=CLion
Comment=CLion Integrated Development Environment
Icon=%%DATADIR%%/bin/clion.png
Exec=%%PREFIX%%/bin/clion
Terminal=false
StartupNotify=true
Categories=Application;Development;