v2.0.0-RC6-2
Pre-release
Pre-release
Native launcher changes
- Don't let native-image interpret the
-D
options passed to the native launcher, so that we can interpret those ourselves as normal options, like the JAR-based launcher does. - Have the
launch
command accept Java options via--java-opt
/-J
, that are passed tojava
when launching a JVM application from the native launcher, likecs launch -J -Xmx3g ammonite
.
In progress changes
The changes below are meant to be described more extensively and documented in later releases, while being more tested in the mean time. These are mentioned here for the sake of comprehensiveness.
- Major in-progress overhaul of the internals of the
bootstrap
andinstall
commands. - Early support for pre-built native launchers for the
install
command. - Experimental
java
andjava-home
commands.java
fetches and starts a custom JVM (likecs java --jvm graalvm@19.3+ -version
), andjava-home
fetches and prints the home directory of a custom JVM (likecs java-home --jvm 11
). - Add support for generating GraalVM native images to the
bootstrap
command. Use likecs bootstrap --native-image coursier -o custom-cs
. - Add experimental
setup
command, installing a JVM if none is found locally, updatingJAVA_HOME
andPATH
if needed, and installing a few applications via theinstall
command (cs
,ammonite
,sbt
, in particular).
Other changes
- Add a
--scala
alias for--scala-version
, in most CLI commands. Use likecs launch ammonite --scala 2.13
.