Member-only story
Getting started with Java
It’s been many years since I’ve done anything substantial with Java. I’d like to try to do a series of posts to get a feel for the Java ecosystem.
The hello world
Just to start things off, the most simple thing. Hello world along with trying out VSCode w/ Java.
Most of these steps are from https://code.visualstudio.com/docs/java/java-tutorial — so this will be rehash of that, I just want to write it down as I learn better that way.
Install OpenJdk
Oracle is undergoing some changes with licensing for the Java SDK(?) — I won’t pretend to understand that, but it sounds like utilizing the open JDK is the route to go.
Install VSCode and extensions
Install VSCode from https://code.visualstudio.com. After installation, install VSCode extensions (Control + Shift + X):
- Language Support for Java
- Debugger for Java
- Java Test Runner
- Maven for Java
- Java Dependency Viewer
- Java Extension Pack
Lastly, install maven — I’d like to use it from the CLI.