Skip to content

Conversation

@andrzejressel
Copy link

adopt is deprecated and contains only very old JDKs

### JVM version

Use a specific JVM, such as `14`, `adopt:11`, or `graalvm:21`, or `system`. scala-cli uses [coursier](https://get-coursier.io/) to fetch JVMs, so you can use `cs java --available` to list the available JVMs.
Use a specific JVM, such as `14`, `temurin:11`, or `graalvm:21`, or `system`. scala-cli uses [coursier](https://get-coursier.io/) to fetch JVMs, so you can use `cs java --available` to list the available JVMs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all docs in the reference directory are generated automatically.
You need to fix it at source and regenerate.

@DirectiveExamples("//> using jvm adopt:11")
@DirectiveExamples("//> using jvm graalvm:21")
@DirectiveUsage(
"//> using jvm _value_",
"`//> using jvm` _value_"
)
@DirectiveDescription(
"Use a specific JVM, such as `14`, `adopt:11`, or `graalvm:21`, or `system`. " +

./mill -i 'generate-reference-doc[]'.run

Also refer to https://github.com/VirtusLab/scala-cli/blob/main/CONTRIBUTING.md#rules-for-a-well-formed-pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants