Skip to content

Commit 7b5364b

Browse files
committed
More colour on coursier
1 parent fdf0347 commit 7b5364b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@ Contents:
2424

2525
Getting started
2626
=======
27-
Scala js dom currently targets java 17 for maximum compatibility.
27+
Scala js dom currently targets java 17 for maximum compatibility. If your shell is targeting a JVM higher than 17, you may experience confusing error messages when starting SBT.
28+
29+
[Coursier](https://get-coursier.io/) is the de facto standard for artefact fetching in scala. Using coursier it is possible to launch SBT with a specific JVM version. The default [installation](https://get-coursier.io/docs/cli-installation) of coursier will put `cs` on your path, after which the following command (run in the root of the project)
2830

2931
```sh
3032
cs launch sbt --jvm 17
3133
```
32-
Would start sbt on a jvm that is known to work with the project
33-
34+
will (if necessary download and) start sbt with temurin 17 - i.e. a jvm known to be compatible with the project.
3435

3536
Packages
3637
========

0 commit comments

Comments
 (0)