cws/core_cw01.tex
changeset 471 135bf034ac30
parent 429 126d0e47ac85
child 474 b528d1d3d3c3
--- a/cws/core_cw01.tex	Sat Sep 23 23:49:44 2023 +0100
+++ b/cws/core_cw01.tex	Wed Nov 01 15:01:32 2023 +0000
@@ -33,8 +33,8 @@
 \noindent
 In addition, the Scala coursework comes with a reference implementation
 in form of \texttt{jar}-files. This allows you to run any test cases on
-your own computer. For example you can call Scala on the command line
-with the option \texttt{-cp collatz.jar} and then query any function
+your own computer. For example you can call scala-cli on the command line
+with the option \texttt{--extra-jars collatz.jar} and then query any function
 from the template file. Say you want to find out what the functions
 \texttt{collatz} and \texttt{collatz\_max} produce: for this you just
 need to prefix them with the object name \texttt{C1}. If you want to
@@ -42,7 +42,7 @@
 would type something like:
 
 \begin{lstlisting}[language={},numbers=none,basicstyle=\ttfamily\small]
-$ scala -cp collatz.jar
+$ scala-cli --extra-jars collatz.jar
   
 scala> C1.collatz(6)
 ...