Build with a different version of Java (e.g. 11) using Docker
April 23, 2019 [Docker, Java] To run a temporary environment with a different version of Java without touching your real environment, try this Docker command: docker run -i -t –mount “type=bind,src=$PWD,dst=/code” openjdk:11-jdk bash (Change “11-jdk” to the version you want as listed in the README.) Then you can code inside the current directory like this: […]