Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 17 & ASM9 support for Glowstone (and Linkstone) #1141

Open
0utplay opened this issue Aug 13, 2022 · 3 comments
Open

Java 17 & ASM9 support for Glowstone (and Linkstone) #1141

0utplay opened this issue Aug 13, 2022 · 3 comments

Comments

@0utplay
Copy link

0utplay commented Aug 13, 2022

Hello, I noticed that the Glowstone dev branch is supporting Minecraft 1.19. I've tried using Java 17 as it is the current LTS but stumbled over some problems with ASM6.
Do you consider updating ASM6 to ASM9 and therefore support Java 17+?

@mastercoms
Copy link
Member

Is this specific to Linkstone? I'm not sure if I had any issues running Glowstone itself on Java 17.

@0utplay
Copy link
Author

0utplay commented Aug 13, 2022

2022/08/13 15:46:46 [SCHWERWIEGEND] Error during server startup.
java.lang.UnsupportedOperationException: Module requires ASM6
	at org.objectweb.asm.ClassVisitor.visitModule(ClassVisitor.java:144)
	at org.objectweb.asm.ClassReader.readModuleAttributes(ClassReader.java:781)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:580)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:424)
	at net.glowstone.GlowPluginTypeDetector.scanFile(GlowPluginTypeDetector.java:97)
	at net.glowstone.GlowPluginTypeDetector.scan(GlowPluginTypeDetector.java:46)
	at net.glowstone.GlowServer.loadPlugins(GlowServer.java:1249)
	at net.glowstone.GlowServer.start(GlowServer.java:780)
	at net.glowstone.GlowServer.run(GlowServer.java:635)
	at net.glowstone.GlowServer.main(GlowServer.java:499)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at eu.cloudnetservice.wrapper.Wrapper.lambda$startApplication$1(Wrapper.java:465)
	at java.base/java.lang.Thread.run(Thread.java:833)

Thats what I get when starting

@GeorgeV220
Copy link

I have the same issue with the latest dev build

@mastercoms mastercoms reopened this Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants