enso/tools/legal-review
Pavel Marek 9a49a02e3f
--jvm tries to find Java executable system-wide. (#11500)
Fixes `--jvm` option, given to the native image. This was failing on my machine, because when given `--jvm` option, the runner was trying to find the `java` executable from the distribution manager's runtime (on my system located in `~/.local/share/enso/runtime`) and it used the first runtime found. But the first runtime on my system is JDK 17.

The `--jvm` option now tries to:
- Find a JDK from the distribution manager that has the same version as the JDK used for building the engine.
- If there is not an exact version match, it tries to find a runtime from distribution manager that is *newer*.
- If none, fallback to system-wide search
- System-wide search tries to find `java` from `$JAVA_HOME` and from `$PATH`. But this is just a fallback.

# Important Notes
- Added test to Engine CI jobs that pass `--jvm` argument to a native image of engine-runner
- ea3af5ffbc
- `runtime-version-manager` sbt project migrated to a JPMS module
- `engine-runner` now depends on `runtime-version-manager`.
- Removed unnecessary stuff in `runtime-version-manager` dealing with outdated `gu` Graal Updater utility.
- Extracted [GraalVersionManager](1455b025cb/lib/scala/runtime-version-manager/src/main/java/org/enso/runtimeversionmanager/components/GraalVersionManager.java) from [RuntimeVersionManager](d2e8994700/lib/scala/runtime-version-manager/src/main/scala/org/enso/runtimeversionmanager/components/RuntimeVersionManager.scala)
2024-11-18 22:44:54 +00:00
..
AWS Updating snakeyaml and removing no longer needed patches (#11207) 2024-10-01 05:03:28 +02:00
Base Update to GraalVM 24.0.0 (#9647) 2024-04-12 17:01:49 +00:00
Database Upgrade SQLite to 3.46 (#10911) 2024-09-07 17:58:59 +00:00
engine Revert disabling of polyglot Ydoc (#11544) 2024-11-13 16:04:13 +01:00
Google_Api Improved Google Analytics integration (#11484) 2024-11-05 10:11:42 +00:00
Image Remove org.bouncycastle dependency (#8664) 2024-01-04 17:16:41 +01:00
launcher --jvm tries to find Java executable system-wide. (#11500) 2024-11-18 22:44:54 +00:00
license-texts Start Ydoc with the language server (#9862) 2024-05-28 13:51:42 +00:00
Microsoft Add Initial SQL Server support (#10624) 2024-07-30 11:13:08 +01:00
project-manager Ydoc native image (#10783) 2024-10-31 19:57:50 +00:00
Snowflake Snowflake Connectivity (#9435) 2024-03-20 10:06:12 +00:00
Table Add AWS SSO JARs to the Standard.AWS library (#9782) 2024-04-25 18:44:51 +00:00
Tableau Initial Tableau Reading Support (#10733) 2024-08-07 09:23:05 +00:00