archrelease: copy trunk to community-any
[ArchLinux/community.git] / intellij-idea-community-edition / trunk / idea.sh
blobbc0dbc57be5e288b05a04f350e6cb8d6ddc5e260
1 #!/bin/sh
3 if [ -z "$IDEA_JDK" ] ; then
4 IDEA_JDK="/usr/lib/jvm/java-17-openjdk/"
5 fi
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/"
9 fi
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 "$@"
17 # vim: ts=2 sw=2 et: