I’m doing a cross-platform set of builds and found that when using Java 11 I am getting a java.awt.HeadlessException only on the Ubuntu environment. This is coming up when running unit tests from maven. Workflow file is below:
and I’m using:
- uses: actions/setup-java@v1 with: java-version: '11'
One all three platforms. Is there a way to get Ubuntu to install the non-headless JDK?