In Eclipse Oxygen with the Java 9 beta support addon, I setup the log4j-api project with Java 9 and Java 7 as the target and it works. I have not checked with the latest Java9 folder though.
We are on the bleeding edge for sure here. The only part that is not great is that we require Java 9 to be installed to build. Us that still the case with the new Java 9 folder set up? This is all good experience anyway. I just want us to keep the release trains coming knowing our busy schedules. I am slightly worried that we could be supporting the Jira tickets coming in but that's how life is in an open source project. Gary On May 21, 2017 1:27 PM, "Ralph Goers" <ralph.go...@dslextreme.com> 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 > > >