Skip to content

Commit

Permalink
jvm.toml: prefer app config directory to JAVA_HOME
Browse files Browse the repository at this point in the history
Presumably the app knows best which Java it wants to use.
  • Loading branch information
hinerm committed May 20, 2024
1 parent 58c6a5e commit e5283d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/jvm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ jvm.distros-blocked = []

jvm.root-paths = [
'--java-home|${java-home}', # user override (CLI flag)
'${JAVA_HOME}', # user override (env var)
'${jvm.app-configured}', # read from <app>.cfg
'${JAVA_HOME}', # user override (env var)
'!--system|${app-dir}/lib/runtime', # jpackage
'!--system|OS:LINUX|ARCH:ARM64|${app-dir}/java/linux-arm64/*', # bundled (Linux aarch64)
'!--system|OS:LINUX|ARCH:X64|${app-dir}/java/linux64/*', # bundled (Linux x86-64)
Expand Down

0 comments on commit e5283d5

Please sign in to comment.