JDK10 build problem: "--module-path"?

Ted Neward ted at tedneward.com
Thu Feb 15 19:20:21 UTC 2018

So… Hmm. Anybody here know what the blessed way to get OpenJDK9 into a Docker image would be, then?


Ted Neward

Author, Speaker, Mentor


t: @tedneward | m: (425) 647-4526

From: Martin Buchholz <martinrb at google.com>
Date: Thursday, February 15, 2018 at 8:50 AM
To: Erik Joelsson <erik.joelsson at oracle.com>
Cc: Alan Bateman <Alan.Bateman at oracle.com>, Ted Neward <ted at tedneward.com>, Jonathan Gibbons <jonathan.gibbons at oracle.com>, "build-dev at openjdk.java.net" <build-dev at openjdk.java.net>
Subject: Re: JDK10 build problem: "--module-path"?


Looking at


it seems like Ubuntu ships whatever openjdk-9 is available at time of creation of a specific version, and doesn't update it afterwards, not even for the quarterly security patches.


On Thu, Feb 15, 2018 at 7:42 AM, Erik Joelsson <erik.joelsson at oracle.com> wrote:

I have hit this same problem once for the same reason Alan describes. Ubuntu provided me with a really old EA build of 9.


On 2018-02-15 00:05, Alan Bateman wrote:

On 15/02/2018 06:32, Ted Neward wrote:

Really?!? I thought the javac -help only listed -modulepath. Not to disbelieve you *grin*, but are you sure? The reason I ask is (barring some really bizarre misconfiguration) I should be using the OpenJDK9 as the boot JDK for this, and I'm getting the error.

What is your boot JDK? Any possibility that you have really old EA build of JDK 9?



More information about the build-dev mailing list