Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

无法启动程序 #44

Closed
Yanstory opened this issue Aug 5, 2023 · 9 comments
Closed

无法启动程序 #44

Yanstory opened this issue Aug 5, 2023 · 9 comments

Comments

@Yanstory
Copy link

Yanstory commented Aug 5, 2023

OpenJDK 17.0.8,1.3.0无法启动,1.2.6 exe启动后无窗口但有进程,强制结束后error.log如下
error.log

@Aloento Aloento closed this as completed Aug 5, 2023
@Yanstory
Copy link
Author

Yanstory commented Aug 5, 2023

1.3.0仍旧无法启动

错误: 加载主类 to.aloen.ssv.Main 时出现 LinkageError
java.lang.UnsupportedClassVersionError: to/aloen/ssv/Main has been compiled by a more recent version of the Java Runtime (class file version 63.0), this version of the Java Runtime only recognizes class file versions up to 61.0

@Aloento
Copy link
Owner

Aloento commented Aug 5, 2023

Main 已由较新版本的 Java Runtime(类文件版本 63.0)编译,该版本的 Java Runtime 只能识别 61.0 以下的类文件版本。
用更新版本的Java可解

@Yanstory
Copy link
Author

Yanstory commented Aug 5, 2023

此OpenJDK为微软编译的17.0.8 LTS,也就是说我需要下载adoptium的20版?

@Aloento
Copy link
Owner

Aloento commented Aug 5, 2023

17太老了,19 20 21 22...

@Yanstory
Copy link
Author

Yanstory commented Aug 5, 2023

换用20.0.2,依旧报错
log.txt

@Aloento
Copy link
Owner

Aloento commented Aug 6, 2023

试一下19

@Yanstory
Copy link
Author

Yanstory commented Aug 6, 2023

启动成功,20还太高了(

@Aloento
Copy link
Owner

Aloento commented Aug 6, 2023

Burningwave搞的鬼

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants