Open
Description
Is your feature request related to a problem? Please describe.
Scala CLI wants to stick to default, LTS JDK - for now it is Java 17. Some users wants to use newer versions like 18 or 19 and Scala CLI should have a easy way to configure that.
Describe the solution you'd like
A global setting that specify default JDK for bloop. It should accept same arguments as --jvm
. Also it should not allow JDK lower then 17.
Additionally, we should update the error, warning and info messages about JDK that we report.
Additional context
Inspired by @milessabin comment.