mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] fix custom jdk path file lookup on Linux
follow-up: 979f96865eacb450c1f75023fa2e745fbe555c1a, 4b1a9f25e259de59bd084a476866a34d8ec156af GitOrigin-RevId: e44109c58dfb228f1eca7ebd27589e75397e8816
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3f780cd0da
commit
22b3f57e5c
@@ -63,8 +63,8 @@ if [ -n "$__product_uc___JDK" ] && [ -x "$__product_uc___JDK/bin/java" ]; then
|
||||
JDK="$__product_uc___JDK"
|
||||
fi
|
||||
|
||||
if [ -z "$JDK" ] && [ -s "${XDG_CONFIG_HOME:-$HOME/.config}/__system_selector__/__vm_options__.jdk" ]; then
|
||||
USER_JRE=$("$CAT" "${XDG_CONFIG_HOME:-$HOME/.config}/__system_selector__/__vm_options__.jdk")
|
||||
if [ -z "$JDK" ] && [ -s "${XDG_CONFIG_HOME:-$HOME/.config}/__product_vendor__/__system_selector__/__vm_options__.jdk" ]; then
|
||||
USER_JRE=$("$CAT" "${XDG_CONFIG_HOME:-$HOME/.config}/__product_vendor__/__system_selector__/__vm_options__.jdk")
|
||||
if [ ! -d "$USER_JRE" ]; then
|
||||
USER_JRE="$IDE_HOME/$USER_JRE"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user