File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
website/docs/guides/introduction Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,22 @@ at [the Getting started page](../../getting_started.md).
24
24
Refer to the [ official instructions for installing Scala] ( https://www.scala-lang.org/download/ ) .
25
25
Scala CLI is available as the ` scala ` command alongside the Scala distribution in Scala 3.5.0 and later.
26
26
27
+ ## Can I still use the old ` scala ` runner with Scala 3.5+?
28
+
29
+ Yes, even though its usage has been deprecated, it is still available under the ` scala_legacy ` command.
30
+ However, it is likely to be dropped in a future version.
31
+
32
+ ``` bash ignore
33
+ scala_legacy
34
+ # [warning] MainGenericRunner class is deprecated since Scala 3.5.0, and Scala CLI features will not work.
35
+ # [warning] Please be sure to update to the Scala CLI launcher to use the new features.
36
+ # [warning] Check the Scala 3.5.0 release notes to troubleshoot your installation.
37
+ # Welcome to Scala 3.5.0 (17, Java OpenJDK 64-Bit Server VM).
38
+ # Type in expressions for evaluation. Or try :help.
39
+ #
40
+ # scala>
41
+ ```
42
+
27
43
## How has the passing of arguments been changed from the old ` scala ` runner to Scala CLI?
28
44
29
45
Let us take a closer look on how the old runner handled arguments when compared to Scala CLI.
You can’t perform that action at this time.
0 commit comments