-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Mill to bootstrap its own Java version #3951
Comments
FYI the following script downloads and runs a coursier binary from the coursier cache itself (that is, it doesn't put anything in the PATH or installs anything globally). |
(The script needs to be updated for ARM64 though) |
@alexarchambault that looks like a good start. To use this, we'd need to:
Would take a bit of work, but seems straightforward Alternately, if we could get graal native image working on the Mill client, we could make it use Coursier programmatically to bootstrap the JVM. That would reduce the number of moving parts and is probably something we want to do anyway |
Follow on from #3480, apart from optionally removing the environmental dependency from
JavaModule
s we should optionally remove the environmental dependency from Mill itself. The bootstrap script can download and unpack the respective JVM as necessary during first launchIf we can't rely on Java during the bootstrapping process, then our options are either to use
curl
from the boostrap script to directly download the JVM, or usecurl
to download a native-image that uses coursier to download the JVMThe text was updated successfully, but these errors were encountered: