I want to add the -ea
option. I set it in Project Settings
--> Compiler
--> Java Compiler
: Additional command line parameters
.
But it caused a make error: invalid flag: -ea
.
P.S.: the above error message may not be the same as yours, because IntelliJ showed error in my native language, not English. I translated it into English.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…