Skip to content

Latest commit

 

History

History
99 lines (63 loc) · 3.13 KB

README.md

File metadata and controls

99 lines (63 loc) · 3.13 KB

Introduction to Java

Java Language MIT License

This project will house exercises for the Introduction to Java course.

We'll be using edition 17 of Java - Java 17 LTS.

This short guide describes:

☕ Install OpenJDK

The Java Development Kit is platform specific. Follow the instructions described in each resource for your platform.

Windows

Ubuntu Linux

Mac OS

✅ Verify your installation

To verify that OpenJDK 17 has been successfully installed on your machine, open a terminal and run the following commands:

Java Runtime Environment

java -version

You should get an ouput similar to this one:

openjdk version "17.0.9" 2023-01-17 LTS
OpenJDK Runtime Environment (build 17.0.9+9-LTS)
OpenJDK 64-Bit Server VM (build 17.0.9+9-LTS, mixed mode)

Java Compiler

javac -version

You should get an ouput similar to this one:

javac 17.0.9

🔧 Visual Studio Code Configuration

In this course, we are going to use Visual Studio Code as our code editor. However, if you are familiar with IntelliJ IDEA, feel free to use it throughout this course.

Editor Configuration

Download and install Visual Studio Code on your machine, then install the Extension Pack for Java.

Follow this Java starting guide to:

  • create a simple Java project
  • create and edit a simple source code file inside the project
  • run the program using the editor "Run|Debug" button (as can be seen on the video)

🎉 When the program runs and prints a Hello World, your local environment is correctly set up for the course.

🚀 Get Started

Now that your development environment is setup correctly, fork this repository, then clone your fork locally.

In the coming weeks, you will be actively writing Java code, and pushing your code to your fork.

Happy learning! 😄