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 8 is not supported jtokkit #14

Open
cuongnguyengit opened this issue Aug 9, 2024 · 2 comments
Open

Java 8 is not supported jtokkit #14

cuongnguyengit opened this issue Aug 9, 2024 · 2 comments

Comments

@cuongnguyengit
Copy link

Great project i can't use because i use Java 8:

java: cannot access xyz.felh.openai.chat.ChatMessage
bad class file: lib/jtokkit/core-4.0.2024080901.jar!/xyz/felh/openai/chat/ChatMessage.class
class file has wrong version 65.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

@forestwanglin
Copy link
Owner

Sorry to hear that.
Em...JDK 1.8 is released in 2014 while JDK21 is release on April 2024.
You may use JDK 21 if the project you created lately. Or you can download the code to change some code to fit syntax compatibility for JDK 1.8.

@cuongnguyengit
Copy link
Author

cuongnguyengit commented Aug 13, 2024 via email

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

2 participants