enso/tools
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
..
build-performance Faster dev builds; tooling for measuring build times and app performance. (#3491) 2022-06-02 19:24:18 +00:00
ci Optimize runtime Docker image size (#11529) 2024-11-12 22:04:46 +00:00
enso4igv Errors and completions in NetBeans 24+ (#11531) 2024-11-14 06:47:29 +01:00
graphmod Add a markdown style guide (#1022) 2020-07-21 13:59:40 +01:00
http-test-helper HTTP response caching, with TTL and LRU logic (#11342) 2024-10-30 12:50:35 +00:00
language-server Bump clap to v4 (#9595) 2024-04-03 11:32:03 +00:00
legal-review --jvm tries to find Java executable system-wide. (#11500) 2024-11-21 18:57:07 +10:00
legal-review-helper Bump cookie and express in /tools/legal-review-helper (#11280) 2024-11-13 15:21:27 +00:00
native-image-config-cleanup Format TS code (#10648) 2024-07-26 17:47:59 +10:00
performance Benchmark static site generator does not include so many records (#11115) 2024-09-17 20:39:11 +00:00
simple-library-server Bump cookie and express in /tools/simple-library-server (#11552) 2024-11-14 10:36:33 +00:00
README.md Add a markdown style guide (#1022) 2020-07-21 13:59:40 +01:00

Enso Tools

This folder contains various tools and utilities that aid in the development of the Enso programming language. It should not be used as a dumping ground for things that have better places, but instead is used to hold things that should be part of this repository but do not have another sensible place for them.