一、项目展示
游戏开始
过了一关
回车获取提示
二、项目打包
我放弃了,本来是想打包成exe文件的,但用exej4将jar包转换成的exe文件运行时一直报错
(java.lang.UnsupportedClassVersionError: Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0)
字面意思也很好理解,jdk和jre运行环境不匹配,尝试了很多方法,也没有得到妥善的解决,唉,如果有大佬,还请指导。