enso/project
Pavel Marek 7d3a4aa76e --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-21 18:57:07 +10:00
..
src/main/scala/licenses Start Ydoc with the language server (#9862) 2024-05-28 13:51:42 +00:00
BenchTasks.scala Bump SBT and Scalafmt (#1203) 2020-10-22 16:12:28 +02:00
build.properties Bump SBT version (#8498) 2023-12-08 17:15:51 +00:00
BuildInfo.scala --jvm tries to find Java executable system-wide. (#11500) 2024-11-21 18:57:07 +10:00
Cargo.scala Compile parser using musl (#9806) 2024-04-29 13:22:41 +00:00
CustomLogManager.scala Use SimpleFormatter.formatMessage to replace {0} with actual parameters (#5870) 2023-03-11 00:15:58 +00:00
Distribution.scala Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
DistributionPackage.scala engine-runner and language-server are separate JPMS modules (#10823) 2024-09-25 21:33:13 +02:00
Editions.scala Initial Tableau Reading Support (#10733) 2024-08-07 09:23:05 +00:00
FrgaalJavaCompiler.scala Fixing Enso projects classpath while updating to IGV 1.20 (#11195) 2024-10-01 13:48:50 +02:00
GatherLicenses.scala Followup improvements to the license review tool (#9895) 2024-05-11 07:51:11 +00:00
GenerateFlatbuffers.scala Use SimpleFormatter.formatMessage to replace {0} with actual parameters (#5870) 2023-03-11 00:15:58 +00:00
GraalVM.scala Benchmark lazy infinite sieve of Eratosthenes (#11351) 2024-10-18 17:46:34 +02:00
JavaFormatter.scala Update java formatter sbt plugin (#8543) 2023-12-15 14:45:23 +00:00
JavaFormatterPlugin.scala Followup improvements to the license review tool (#9895) 2024-05-11 07:51:11 +00:00
JPMSPlugin.scala engine-runner and language-server are separate JPMS modules (#10823) 2024-09-25 21:33:13 +02:00
JPMSUtils.scala Avoid JavaScript and Python in Enso native launcher (#11279) 2024-10-11 06:22:28 +02:00
LauncherShimsForTest.scala Use SimpleFormatter.formatMessage to replace {0} with actual parameters (#5870) 2023-03-11 00:15:58 +00:00
LibraryManifestGenerator.scala Relative paths are relative to current project locally and in Cloud (#10660) 2024-07-31 09:43:17 +00:00
NativeImage.scala Only single native image is built at a time (#11497) 2024-11-05 18:33:58 +00:00
PackageListPlugin.scala engine-runner and language-server are separate JPMS modules (#10823) 2024-09-25 21:33:13 +02:00
Platform.scala Relative paths are relative to current project locally and in Cloud (#10660) 2024-07-31 09:43:17 +00:00
plugins.sbt Add retries when fetching tableau artifacts in sbt (#10984) 2024-09-09 10:16:54 +02:00
RecompileParser.scala New documentation parser (#5917) 2023-03-15 15:43:51 +00:00
SPIHelpers.scala Followup improvements to the license review tool (#9895) 2024-05-11 07:51:11 +00:00
StdBits.scala Initial Tableau Reading Support (#10733) 2024-08-07 09:23:05 +00:00
VerifyReflectionSetup.scala Fix the project manager reflection configuration (#1394) 2021-01-14 10:46:01 +00:00
WithDebugCommand.scala WithDebug command works for bench and for test (#8786) 2024-01-17 11:43:20 +00:00
Ydoc.scala Update ydoc-server build (#11550) 2024-11-14 15:25:15 +00:00