3 if [ -z "$IDEA_JDK" ] ; then
4 IDEA_JDK
="/usr/lib/jvm/java-17-openjdk/"
6 # open-jfx location that should match the JDK version
7 if [ -z "$IDEA_JFX" ] ; then
8 IDEA_JFX
="/usr/lib/jvm/java-17-openjfx/"
10 # classpath according to defined JDK/JFX
11 if [ -z "$IDEA_CLASSPATH" ] ; then
12 IDEA_CLASSPATH
="${IDEA_JDK}/lib/*:${IDEA_JFX}/lib/*"
15 exec env IDEA_JDK
="$IDEA_JDK" IDEA_CLASSPATH
="$IDEA_CLASSPATH" /usr
/share
/idea
/bin
/idea.sh
"$@"