Skip to content
/ dev-container-java Public template

An opinionated dev container for Java and VS Code

License

Notifications You must be signed in to change notification settings

RimuTec/dev-container-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dev-container-java

An opinionated dev container for Java and VS Code

Prerequisites

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)

Getting Started

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.