Let's start off by downloading or opening a Java Compiler. One such compiler app is Eclipse and JDK so that your laptop can run Java is the first step. This should be done before class, and below is a quick video that shows you exactly how to do it. For a web-based compiler, we recommend replit.com
https://www.youtube.com/embed/B-ZQVZbKdpw
<aside> š” In the video, the teacher says to download Java SE 8, which should work (and you can scroll down the website linked above to download it (Click on JDK download). However, you can also download newer versions of Java. The latest as of May 2020 is Java SE 14.
</aside>
<aside> š” Eclipse is an IDE (Integrated Development Environment). Basically, it's a program that allows programmers to write code. It has a lot of helpful features which might seem a bit overwhelming at first, but don't worry, it's actually a lot simpler to use than you might think (see next video). Also, if you have coded before and you have your own preferred IDE or text editor you like to use, feel free to use that for this course.
</aside>
<aside> š” Replit is also an IDE. It requires no download and works entirely on your web browser! However, there are storage limits on replit and it can compile slower.
</aside>
<aside> ā ļø Note:Ā Around 2:40-2:50, the teacher mentions that you should create a main class. It should actually be called the mainĀ method, not the mainĀ class. All of the code in the main method runs when you run your program.
</aside>
<aside>
š” Don't worry about understanding what all of the syntax means yet (such asĀ public
Ā orĀ class
). For now, just make sure you copy the code exactly as it appears.
</aside>