Error: /usr/lib/jvm/java-11-openjdk/bin/java exited with code: 13
See original GitHub issueAfter opening a file in a small project I get the following errors:
## versions
vim version: NVIM v0.3.4
node version: v11.7.0
coc.nvim version: 0.0.65
term: xterm-256color
platform: linux
## Error messages
## Output channel: prettier
## Output channel: highlight
[Info - 00:56:10] Highlight server running in node v11.7.0
## Output channel: java
[Info - 00:56:12] Connection to server got closed. Server will restart.
[Error - 00:56:12] /usr/lib/jvm/java-11-openjdk/bin/java exited with code: 13
[Info - 00:56:14] Connection to server got closed. Server will restart.
[Error - 00:56:14] /usr/lib/jvm/java-11-openjdk/bin/java exited with code: 13
The odd thing is that if I create a testfile Test.java
in its own directory and open it, JDT Language Server starts just fine.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Can't start Eclipse - Java was started but returned exit code=13
After first trying to start Eclipse without any parameters to specify the Java VM, I got an error message saying it couldn't find...
Read more >[Solved] Java Was Started but Returned Exit Code=13 Error in ...
One of the issue linked with Eclipse is "java was started by returned exit code=13" error. This error is mostly faced by java...
Read more >Newcomers » Java Exit Code 13 - Eclipse Community Forums
However when I try to launch it, I get the Java Exit Code 13 error. I've tried re-installing Java many times but to...
Read more >How to Fix Java was Started but Returned Exit Code=13 ... - Dell
If you are getting an error saying “Java was Started but Returned Exit Code=13” during Eclipse installation, then there is a fix for...
Read more >eclipse crash with "JVM terminated. Exit code=1" — oracle-tech
sometimes eclipse-gtk 3.1 crash with following error: ... Exit code=1 ... $JAVA_HOME to the location where I installed Java at /usr/lib/j2sdk1.4-sun.
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 FreeTop 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
Top GitHub Comments
@oldsouless I had the same issue.
:CocCommand java.clean.workspace
was not working either. What I had to do was to manually remove$HOME/.config/coc/extensions/coc-java-data
and restart nvim. Then I had to wait for the download to complete (it can take several minutes but a message should appear).Do not close nvim before the message comes in or you will get the 13 error code back. It would be nice if the incomplete download was canceled/clear out when exiting nvim?
I also encountered this issue (the error code 13), but with an older JDK which is also related to #106 . The solution was obvious (upgrading my jdk or downgrading the jdt.ls) in this case so this is just a heads up.