How to set up Community Edition with Zulu OpenJDK 11?

已回答

I have to change from Oracle JDK 8 to Zulu OpenJDK 11, and I can't seem to get InteliJ to recognize the standard class packages.  I pointed it to the Zulu SDK, but IJ doesn't recognize basic classes like String and IOException.  Oddly it does recognize more specialized classes like the javax.servlet package, but it doesn't know java.io or java.util.  I'm guessing this has something to do with the Java module feature introduced in Java 9?  But I can't find any reference to this kind of problem.  (Lots of folks having trouble with JavaFX, I think that's a separate issue.)  Anyone see this before?

0

Make sure you run the latest IntelliJ IDEA version from https://www.jetbrains.com/idea/download/index.html.

See https://stackoverflow.com/a/61180376/104891 .

If you are on macOS make sure to specify Contents/Home subdirectory as the JDK home.

0

请先登录再写评论。