An opinionated dev container for Java and VS Code
To make best use of this repository, you need the following:
- Visual Studio Code
- VS Code extension "Remote Development"
- Docker Desktop (MacOS, Windows) or docker engine (Linux)
- git client (https://git-scm.com/downloads)
Once you have the container running, open a terminal inside VS Code and execute the following sequence of commands:
cd /src
javac HelloWorld.java
java HelloWorld
All going to plan, this will output "Hello, world!" in the console.