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
or [AdoptOpenJDK 8/11](https://adoptopenjdk.net/). Refer [JDK Compatibility](/overviews/jdk-compatibility/overview.html) for Scala/Java compatibility detail.
42
+
1. if you don't have Java 8 or 11 installed, download
43
+
Java from [Oracle Java 8](https://www.oracle.com/java/technologies/javase-jdk8-downloads.html), [Oracle Java 11](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html),
44
+
or [AdoptOpenJDK 8/11](https://adoptopenjdk.net/). Refer to [JDK Compatibility](/overviews/jdk-compatibility/overview.html) for Scala/Java compatibility detail.
To create a project, you can either use a command-line tool or an IDE.
50
-
If you are familiar with command-lines, we recommend to use the first approach.
49
+
If you are familiar with the command line, we recommend that approach.
51
50
52
51
### Using command-line
53
52
sbt is a build tool for Scala. sbt compiles, runs,
54
-
and tests your projects among other related tasks.
53
+
and tests your Scala code. (It can also publish libraries and do many other tasks.)
55
54
56
55
1.`cd` to an empty folder.
57
56
1. Run the following command `sbt new scala/hello-world.g8`.
@@ -63,17 +62,17 @@ create a project called "hello-world".
63
62
64
63
```
65
64
- hello-world
66
-
- project (sbt uses this to install and manage plugins and dependencies)
65
+
- project (sbt uses this for its own files)
67
66
- build.properties
67
+
- build.sbt (sbt's build definition file)
68
68
- src
69
69
- main
70
-
- scala (All of your scala code goes here)
70
+
- scala (all of your Scala code goes here)
71
71
- Main.scala (Entry point of program) <-- this is all we need for now
72
-
- build.sbt (sbt's build definition file)
73
72
```
74
73
75
74
More documentation about sbt can be found in the [Scala Book](/overviews/scala-book/scala-build-tool-sbt.html)
76
-
or in the official sbt [documentation](https://www.scala-sbt.org/1.x/docs/index.html)
75
+
and in the official sbt [documentation](https://www.scala-sbt.org/1.x/docs/index.html)
77
76
78
77
### With an IDE
79
78
You can skip the rest of this page and go directly to [Building a Scala Project with IntelliJ and sbt](/getting-started/intellij-track/building-a-scala-project-with-intellij-and-sbt.html#next-steps)
@@ -102,15 +101,15 @@ which you can ignore.
102
101
103
102
104
103
## Next Steps
105
-
Once you've finished these tutorials, check out:
104
+
Once you've finished the above tutorials, consider checking out:
106
105
107
106
*[The Scala Book](/overviews/scala-book/introduction.html), which provides a set of short lessons introducing Scala’s main features.
108
107
*[The Tour of Scala](/tour/tour-of-scala.html) for bite-sized introductions to Scala's features.
109
108
*[Learning Resources](/learn.html), which includes online interactive tutorials and courses.
110
109
*[Our list of some popular Scala books](/books.html).
111
110
112
111
## Getting Help
113
-
There are a multitude of mailing lists and real-time chat channels in case you want to quickly connect with other Scala users. Check out our [community](https://scala-lang.org/community/) page for a list of these resources, and for where to reach out for help.
112
+
There are a multitude of mailing lists and real-time chat rooms in case you want to quickly connect with other Scala users. Check out our [community](https://scala-lang.org/community/) page for a list of these resources, and for where to reach out for help.
114
113
115
114
<!-- Hidden elements whose content are used to provide OS-specific download instructions.
116
115
-- This is handled in `resources/js/functions.js`.
0 commit comments