-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Could not run ltex-ls with Java, please see the output panel 'LTeX Language Client' for details. #782
Comments
I get the same error (also on M1 Mac) |
I got the same error when running inside a dev container. It works however on Windows |
Had the same issue, which I resolved by installing ltex-ls through brew, and setting a few config options: "ltex.ltex-ls.path": "/usr/local",
"ltex.java.path": "/Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home" The A new problem arises for me though, where VSCode is stuck on EDIT |
Have the same issue on windows
|
Describe the bug
Every time I open VS Code on macOS the LTEX error "Could not run ltex-ls with Java, please see the output panel 'LTeX Language Client' for details. You might want to try offline installation." appears.
Steps to reproduce
Steps to reproduce the behavior:
LTeX configuration
Please paste all configuration settings starting with
ltex.
from yoursettings.json
. You can help us by temporarily removing some irrelevant settings from yoursettings.json
and see if the bug still occurs."LTeX Language Server" log file
First, reproduce the bug. Then, go to
View
→Output
and selectLTeX Language Server
in the drop-down list. Paste this log here:"LTeX Language Client" log file
First, set the
ltex.trace.server
setting in yoursettings.json
to"verbose"
. Then, reload the VS Code window and reproduce the bug. Go toView
→Output
and selectLTeX Language Client
in the drop-down list. Paste this log here (note: it will contain your checked document):Version information
List here the version information of the relevant software.
java -version
, only if not using Java automatically downloaded by LTeX)Additional context/information
The bundled Java exists in /Users//.vscode/extensions/valentjn.vscode-ltex-13.1.0/lib/ltex-ls-15.2.0/jdk-11.0.12+7
The text was updated successfully, but these errors were encountered: