You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code-wise, we inline the data that were in `_data/downloads.yml`
and `_data/tutorials.yml` as well as inline and unroll the logic
that was in `_includes/tutorial-list.html`. Those were only used
once, and it is much easier to edit them in-place, not to mention
that it is actually works with jekyll's incremental builds, unlike
the `_data`-based approach.
<h3>First, make sure you have the Java 8 JDK (or Java 11 JDK) installed.</h3>
26
-
<p>To check, open the terminal and type:</p>
27
-
<p><code>java -version</code><span>(Make sure you have version 1.8 or 11.)</span></p>
28
-
<p><i>(If you don't have it installed, download Java from <ahref="https://www.oracle.com/java/technologies/javase-jdk8-downloads.html">Oracle Java 8</a>, <ahref="https://www.oracle.com/java/technologies/javase-jdk11-downloads.html">Oracle Java 11</a>, or <ahref="https://adoptopenjdk.net/">AdoptOpenJDK 8/11</a>. Refer <ahref="https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html">JDK Compatibility</a> for Scala/Java compatiblity detail.</i></p>
25
+
<h3>First, install Java, Scala, and all related command-line tools.</h3>
26
+
<divid="download-step-one">
27
+
<p>Download <ahref="https://get-coursier.io/docs/cli-overview.html#install-native-launcher">the native launcher of coursier</a> then install everything with:</p>
28
+
<p><code>$ ./cs setup</code><span> (Adapt to your operating system)</span></p>
29
+
</div>
30
+
<p>(See <ahref="https://get-coursier.io/docs/cli-overview.html#install-native-launcher">the instructions for other operating systems</a>.)
29
31
</div>
30
32
</div>
31
33
<divclass="step">
32
34
<divclass="number-step">2</div>
33
35
<divclass="text-step">
34
-
<h3>Then, install Scala:</h3>
35
-
<p>...either by installing an IDE such as IntelliJ, or sbt, Scala's build tool.</p>
36
+
<h3>Then, install an IDE, or get started with sbt</h3>
<li><ahref="/documentation/getting-started-intellij-track/getting-started-with-scala-in-intellij.html"><iclass="fa fa-file-text-o"></i>Getting Started with Scala in IntelliJ</a></li>
52
+
<li><ahref="/documentation/getting-started-intellij-track/building-a-scala-project-with-intellij-and-sbt.html"><iclass="fa fa-file-text-o"></i>Building a Scala Project with IntelliJ and sbt</a></li>
53
+
<li><ahref="/documentation/getting-started-intellij-track/testing-scala-in-intellij-with-scalatest.html"><iclass="fa fa-file-text-o"></i>Testing Scala in IntelliJ with ScalaTest</a></li>
<li><ahref="/documentation/getting-started-sbt-track/getting-started-with-scala-and-sbt-on-the-command-line.html"><iclass="fa fa-file-text-o"></i>Getting Started with Scala and sbt on the Command Line</a></li>
67
+
<li><ahref="/documentation/getting-started-sbt-track/testing-scala-with-sbt-on-the-command-line.html"><iclass="fa fa-file-text-o"></i>Testing Scala with sbt and ScalaTest on the Command Line</a></li>
64
68
</ul>
65
69
</div>
66
70
</div>
67
71
68
72
<pclass="bottom-lead">
69
-
Compared to other programming languages, installing Scala is a bit unusual. Scala is unusual because it is usually installed for each of your Scala projects rather than being installed system-wide. Both of the above options manage (via sbt) a specific Scala version per Scala project you create.
70
-
<br><br>
71
-
But it's also possible to "install" Scala in numerous other ways; e.g., grab Scala binaries and use Scala from the command line or use Scala in your browser!
72
-
<br><br>
73
+
Compared to other programming languages, installing Scala is a bit unusual.
74
+
In addition to the system-wide installation mentioned above, build tools such as sbt will automatically manage a specific Scala version per Scala project you create.
75
+
This makes sure that there are no version conflicts between different Scala projects on your computer.
<p>Follow <ahref="https://get-coursier.io/docs/cli-overview.html#install-native-launcher" target="_blank">the instructions to install the <code>cs</code> launcher</a> then run:</p>
0 commit comments