Open mgorfer opened 1 year ago
Probably because the raspberry pi is Arm64.
I worked around it by downloading and unpacking the compressed archive of JDK 21 and setting
"ltex.java.path": "/path/to/jdk-21"
Downloads of Java are here https://www.oracle.com/java/technologies/downloads/
Enter a summary of the issue in the title field above and replace this sentence with the bug report from your clipboard.Describe the bug A clear and concise description of what the bug is.
Steps to reproduce Steps to reproduce the behavior:
ltex-ls terminated with non-zero exit code 126
.Deleting all VSCode files on my Raspberry Pi and reinstalling all extensions clean did not solve the problem.
If I manually call
ubuntu@ubuntu:~$ /home/ubuntu/.vscode-server/extensions/valentjn.vscode-ltex-13.1.0/lib/ltex-ls-15.2.0/bin/ltex-ls --version
I get{"ltex-ls": "15.2.0", "java": "17.0.8.1"}
.When I do this on my Laptop with Manjaro Linux.
/home/user/.vscode/extensions/valentjn.vscode-ltex-13.1.0/lib/ltex-ls-15.2.0/bin/ltex-ls --version
I get{"ltex-ls": "15.2.0", "java": "11.0.12"}
.Expected behavior Ltex starts and shows me the spell checking in my .md file. It works fine locally on my Laptop with Manjaro Linux and also remotely on other Servers running Linux.
Sample document If the bug occurs for a specific document (e.g. LaTeX), please paste it here. If your document is very long or confidential, please create and attach a smaller example for which the bug still occurs so that we can reproduce it.
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 You can add any other context or information about the problem here.