% OpenJDK versions with docker
Build a scala based project with different JVM implementations:
- openjdk 8, 9, 10 and 11
- openj9 (8 to 11)
- azul 8
- aws corretto
This code is open source software licensed under the Apache 2.0 License.
A simple scala project is provided for testing, it has been created from the basic scala template:
sbt new scala/scala-seed.g8
but you can replace it by any other scala project you are interested in.
The following instructions expect a sbt project in the root level of this directory.
make help
// test with openjdk 8
make build-with-openjdk8
For debugging purposes you may want to ssh into the container:
env IMAGE=adoptopenjdk/openjdk11-openj9 ./docker-openjdk-x sh
# java -version
As they are minimal images, a setup
task is provided, azul image I'm
looking at you, to download an sbt launch jar.
make setup
make build-with-azul
Finally, if you encounter permission problems, just run make clean
.