java.lang.UnsupportedClassVersionError
See original GitHub issueI just found your extension and I’m glad someone is keeping a language tool extension up to date 😃
Describe the bug Nothing happens, no sign of any activity of the extension
Steps to reproduce Steps to reproduce the behavior:
- Install extension
- Install English support
- Restart VS Code
- Open .tex document
- Nothing happens
Expected behavior Latex document is spell and grammar checked.
LTeX configuration
"ltex.trace.server": "verbose"
Log files
java.lang.UnsupportedClassVersionError: App has been compiled by a more recent version of the Java Runtime (class file version 55.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(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main"
Version information
- Operating system: Windows 10 (1909)
- VS Code: 1.44.2
- LTeX: 4.9.2
- LTeX language extensions: English
- Java: 1.8.0_251
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to Fix java.lang.UnsupportedClassVersionError - Baeldung
This error is telling us that our class was compiled at a higher version of Java than the version with which we tried...
Read more >How to fix java.lang.UnsupportedClassVersionError
This error means that the JRE that is being used to execute your class code does not recognise the version of Java used....
Read more >How to Fix UnsupportedClassVersion Error in Java - Rollbar
The UnsupportedClassVersionError in Java occurs when the JVM attempts to read a malformed or otherwise erroneous class file.
Read more >How to Fix java.lang.UnsupportedClassVersionError in Java?
The UnsupportedClassVersionError is a sub-class of the LinkageError and thrown by the Java Virtual Machine (JVM).
Read more >How to resolve java.lang.UnsupportedClassVersionError ...
precise answer of this is "When JVM tries to load a class and found that class file version is not supported it throws...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fix released in 4.9.3.
@universemaster It seems I underestimated how many people still run Java 8. Oracle will be dropping support by the end of this year, and large projects such as the Eclipse platform will be moving to Java 11 pretty soon. So in the not-so-long term, there’s no other option for LTEX to move to Java 11 as well.
As a short-term solution, I’ll revert the changes made in LTEX 4.9.2, so Java 8 will suffice again, while we figure out a transition plan. I’m open to any kind of constructive ideas. (Maybe this is motivation for someone to tackle issue #5.)