if [ -n "$IDEA_JDK" ] && [ -x "$IDEA_JDK/bin/java" ]; then
JRE="$IDEA_JDK"
else
JDK="/opt/openjdk-bin-11" && [[ -d "/opt/openjdk-11" ]] && JDK="/usr/lib64/openjdk-bin-11"
JRE="/opt/openjdk-bin-11" && [[ -d "/opt/openjdk-11" ]] && JRE="/usr/lib64/openjdk-bin-11"
fi
if [ -z "$JRE" ] && [ -s "${CONFIG_HOME}/JetBrains/IdeaIC2022.1/idea.jdk" ]; then