411 Star 2.4K Fork 862

xwintop / xJavaFxTool

 / 详情

JDK 11.0.14 按照文档说明添加了参数启动还是执行报错,

待办的
创建于  
2022-08-14 12:56

java version "11.0.14" 2022-01-18 LTS
按如下方式执行jar
java --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens jdk.zipfs/jdk.nio.zipfs=ALL-UNNAMED -jar xJavaFxTool-0.3.2.jar
报错如下:
com.xwintop.xJavaFxTool.XJavaFxToolMain : LinkageError

java.lang.UnsupportedClassVersionError: com/xwintop/xJavaFxTool/XJavaFxToolMain 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.0java.lang.UnsupportedClassVersionError: com/xwintop/xJavaFxTool/XJavaFxToolMain 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

评论 (2)

姚君 创建了任务

要jdk17,你没看readme吗

换成jdk 17还是报错呀 Exception in thread "JavaFX Application Thread" com.xwintop.xJavaFxTool.AppException: java.util.zip.ZipException: zip END header not found

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
1835703 varyuan 1578960789 595 yao00jun 1578913832
Java
1
https://gitee.com/xwintop/xJavaFxTool.git
git@gitee.com:xwintop/xJavaFxTool.git
xwintop
xJavaFxTool
xJavaFxTool

搜索帮助