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

Where can i find version for jdk8? #46

Closed
mdevkr opened this issue Sep 12, 2021 · 11 comments
Closed

Where can i find version for jdk8? #46

mdevkr opened this issue Sep 12, 2021 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@mdevkr
Copy link

mdevkr commented Sep 12, 2021

I have an issue by using JDK 8 to latest versions.

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: it/tdlight/common/utils/CantLoadLibrary has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
	at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
	at java.lang.Class.getMethod0(Class.java:3018)
	at java.lang.Class.getMethod(Class.java:1784)
	at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)

Process finished with exit code 1

how can i fix it? i assume that issue came because of the latest version of TDLight only supports JDK >= 11
But i can't find fit version of Tdligt from anywhere...

@cavallium
Copy link
Member

It should work on java 8. Probably I released the artifacts using java 11 by mistake. Tomorrow I'll fix this.

@cavallium cavallium added the bug Something isn't working label Sep 12, 2021
@cavallium cavallium self-assigned this Sep 12, 2021
@mdevkr
Copy link
Author

mdevkr commented Sep 14, 2021

It should work on java 8. Probably I released the artifacts using java 11 by mistake. Tomorrow I'll fix this.

It still throws me the same error :(

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: it/tdlight/common/utils/CantLoadLibrary has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

I'm on 1.7.65 of tdlight-java and 3.3.74 of td-lib-natives-windows-amd64

Maybe you just forgot about me ;(

@cavallium
Copy link
Member

I'm working on it now

@mdevkr
Copy link
Author

mdevkr commented Sep 15, 2021

I'm working on it now

Just let me know when you release it..

@cavallium
Copy link
Member

Done, please upgrade to the latest version

@mdevkr
Copy link
Author

mdevkr commented Sep 16, 2021

LOL. not fixed.
I'll do it by my self.

@MarcoBuster
Copy link

LOL. not fixed.
I'll do it by my self.

Lol

@cavallium
Copy link
Member

Fixed, finally

@cavallium
Copy link
Member

This version is released as a multi-release jar

@mdevkr
Copy link
Author

mdevkr commented Sep 28, 2021

This version is released as a multi-release jar

I'm countin' on you for the last time..hope it works this time.............

@mdevkr
Copy link
Author

mdevkr commented Sep 28, 2021

This version is released as a multi-release jar

It works fine now! thank you and sorry for bothering you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants