1.下载安装jdk 17 Java Downloads | Oracle 选择第二个 2.打开IDEA 修改SDK和Language level 修改Language level 和 Module SDK 修改Target bytecode version