Exporting a package from system module is not allowed with --release

前端 未结 5 1711
迷失自我
迷失自我 2021-01-02 03:15

I have the following program:

module-info.java

module a {
}

Main.java

public clas         


        
5条回答
  •  不思量自难忘°
    2021-01-02 03:32

    Go to the File menu -> [Settings] -> [Build, Execution, Deployment] -> [Java Compiler] and select your JDK version. (Make sure it is higher than JDK 11)

    See the image below

提交回复
热议问题