Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rimutec/dev-container-java

An opinionated dev container for Java and VS Code
https://github.com/rimutec/dev-container-java

docker docker-compose java template-repository vscode

Last synced: about 13 hours ago
JSON representation

An opinionated dev container for Java and VS Code

Awesome Lists containing this project

README

        

# 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:

```bash
cd /src
javac HelloWorld.java
java HelloWorld
```

All going to plan, this will output "Hello, world!" in the console.