How To Solve Unrecognized option: –add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED In Java Intellij IDEA Error ?
Jan 17, 2022
- Go to File
- Seelect Project Structure
- There Is in left tree Just choose Project Settings
- Then Select Project
- There look at Project language level
- IntelliJ IDEA had changed it from 8 To 16. Thats why you are facing this issue.
- Just put it back to 8
- BOOM! Now your error must be solved.