OK - then I don’t know what to say. Maybe it is just an older version? That said I have never used the Java that ships with Linux systems as I have always found it to be a little “strange” when compared to Sun/Oracle’s version.
Ralph > On Jul 11, 2017, at 11:07 PM, kenneth mcfarland <[email protected]> > wrote: > > I used used this command to try: > sudo apt-get install openjdk-9-jdk > It does have javac but the javac included does not support the --release > flag and fails to build. I do however believe it has all the jdk tools. > > > On Jul 11, 2017 10:43 PM, "Ralph Goers" <[email protected]> wrote: > >> Thanks for the info and I’m glad the problem is resolved. Out of >> curiosity, did openjdk-9-java-amd64 on Ubuntu have the JDK and other tools >> like jstack, jmap, etc, or was it just the JRE? >> >> Ralph >> >>> On Jul 11, 2017, at 9:32 PM, kenneth mcfarland < >> [email protected]> wrote: >>> >>> I would just like to ask if this information would be useful for the >> public: >>> >>> On Ubuntu 16.04.2, the openjdk-9-java-amd64 via the repository does not >>> have javac. Using openjdk-9-java-amd64 (as exposed via the >>> toolchain-sample-linux.xml file) will result in failure, at least with >> sudo >>> apt-get install on the latest Ubuntu. >>> >>> Only after installing and configuring the oracle version of the jdk-9 >> early >>> access will builds of the log4j2-api-java9 build correctly. >>> >>> After discovering the --release flag is a new feature to java 9 I able to >>> hunt down the problem. I'd like to save others the frustration of my >>> experience. Thanks to Matt and Ralph and others who offered their help >> and >>> expertise in helping me track down a fix. >>> >>> Kenneth >> >> >>
