Same with IntelliJ IDEA. You can set JRE per module (such as log4j-api, log4j-core), but not per source folder.

So this is not enough to fix it. But it is better than nothing, so please keep it. And do the same for tests if/when we add any tests for the code in src/main/java9.

I am now able to continue to work with the project in IntelliJ IDEA by excluding src/main/java9. (But if I work with the Java 9 stuff, I only have a text editor with syntax highlighting, no other IDE support for that part.)


On 2017-05-21 14:50, Gary Gregory 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

Reply via email to