I still want to see a better Maven plugin for handling Java 9 multi-release jars and things like that. The whole Java 9 build is still rather hacky. If the entire project was buildable in Java 9 and could still target 7, 8, and 9, then that would be a simpler solution IMO.
On 22 May 2017 at 06:16, Mikael Ståldal <mi...@apache.org> wrote: > IntelliJ IDEA is "smart" enough to automatically pick up the > src/main/java9 folder. > > > > On 2017-05-21 22:26, Ralph Goers wrote: > >> Since src/main/java9 isn’t normally considered a source directory you >> should be able to work with Java 7 as well. It will just ignore the Java 9 >> files. >> >> Ralph >> >> On May 21, 2017, at 5:50 AM, Gary Gregory <garydgreg...@gmail.com> wrote: >>> >>> I set the JRE for that project to Java 9. I do not think you can set the >>> JRE per source folder, only per project. >>> >>> Gary >>> >>> On May 21, 2017 1:29 AM, "Ralph Goers" <ralph.go...@dslextreme.com> >>> wrote: >>> >>> I’ve modified the build to put the Java 9 classes of the API into a >>> separate source directory. Can you see if that helps things in Eclipse? >>> >>> Ralph >>> >> >> > -- Matt Sicker <boa...@gmail.com>