Skip to content
/ java Public template

About A setup for working on java (8, 11) in a vscode container or Gitpod.

License

Notifications You must be signed in to change notification settings

dev-container/java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Develop in Container - Java

A setup for working on Java in a vscode or gitpod container.

VS Code

Using Dockerfile from https://github.com/microsoft/vscode-dev-containers/tree/master/containers/java-8

  • FROM openjdk:8-jdk - Dockerfile
  • FROM buildpack-deps:buster-scm - Dockerfile
  • Debian “buster” based.

VS Code Remote Development Container Docker Hub

Gitpod

Using Gitpod workspace full gitpod/workspace-full https://github.com/gitpod-io/workspace-images/tree/master/full

  • FROM buildpack-deps:focal - Dockerfile
  • Ubuntu Focal based.

SDKMAN

Use SDKMAN! to change Java version

See available Java versions

sdk list java

Install and set as default (current version)

sdk install java 8.0.262-amzn
sdk install java 11.0.8-amzn
sdk default java 11.0.8-amzn