{"action":"created","issue":{"url":"https://api.github.com/repos/theia-ide/theia/issues/2268","repository_url":"https://api.github.com/repos/theia-ide/theia","labels_url":"https://api.github.com/repos/theia-ide/theia/issues/2268/labels{/name}","comments_url":"https://api.github.com/repos/theia-ide/theia/issues/2268/comments","events_url":"https://api.github.com/repos/theia-ide/theia/issues/2268/events","html_url":"https://github.com/theia-ide/theia/issues/2268","id":338278610,"node_id":"MDU6SXNzdWUzMzgyNzg2MTA=","number":2268,"title":"Error launching Java language server","user":{"login":"jeanlucburot","id":38067850,"node_id":"MDQ6VXNlcjM4MDY3ODUw","avatar_url":"https://avatars2.githubusercontent.com/u/38067850?v=4","gravatar_id":"","url":"https://api.github.com/users/jeanlucburot","html_url":"https://github.com/jeanlucburot","followers_url":"https://api.github.com/users/jeanlucburot/followers","following_url":"https://api.github.com/users/jeanlucburot/following{/other_user}","gists_url":"https://api.github.com/users/jeanlucburot/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanlucburot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanlucburot/subscriptions","organizations_url":"https://api.github.com/users/jeanlucburot/orgs","repos_url":"https://api.github.com/users/jeanlucburot/repos","events_url":"https://api.github.com/users/jeanlucburot/events{/privacy}","received_events_url":"https://api.github.com/users/jeanlucburot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-04T13:33:58Z","updated_at":"2018-07-04T13:56:32Z","closed_at":null,"author_association":"NONE","body":"When pulling the current (2018-07-04 15:27) sources I get an error when starting Theia in the browser. This happens when I create a Java file and the Java language server starts. Following error is printed:\r\n\r\n`languages ERROR Error occurred while starting language contribution. /services/languages/java. Error: The Java server launcher is not found.\r\n    at JavaContribution.start (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/java/lib/node/java-contribution.js:58:19)\r\n    at /home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/languages/lib/node/languages-backend-contribution.js:51:34\r\n    at /home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/lib/node/messaging/messaging-contribution.js:100:13\r\n    at /home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/lib/node/messaging/messaging-contribution.js:237:17\r\n    at ConnectionHandlers.route (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/lib/node/messaging/messaging-contribution.js:247:38)\r\n    at WebSocket.<anonymous> (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/lib/node/messaging/messaging-contribution.js:141:43)\r\n    at emitOne (events.js:116:13)\r\n    at WebSocket.emit (events.js:211:7)\r\n    at Receiver._receiver.onmessage (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/node_modules/ws/lib/WebSocket.js:141:47)\r\n    at Receiver.dataMessage (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/node_modules/ws/lib/Receiver.js:389:14)\r\nroot ERROR Error: The Java server launcher is not found.\r\n    at JavaContribution.start (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/java/lib/node/java-contribution.js:58:19)\r\n    at /home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/languages/lib/node/languages-backend-contribution.js:51:34\r\n    at /home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/lib/node/messaging/messaging-contribution.js:100:13\r\n    at /home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/lib/node/messaging/messaging-contribution.js:237:17\r\n    at ConnectionHandlers.route (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/lib/node/messaging/messaging-contribution.js:247:38)\r\n    at WebSocket.<anonymous> (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/lib/node/messaging/messaging-contribution.js:141:43)\r\n    at emitOne (events.js:116:13)\r\n    at WebSocket.emit (events.js:211:7)\r\n    at Receiver._receiver.onmessage (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/node_modules/ws/lib/WebSocket.js:141:47)\r\n    at Receiver.dataMessage (/home/jlburot/Dokumente/Recherchen/Theia/theia/theia/packages/core/node_modules/ws/lib/Receiver.js:389:14)\r\nroot ERROR Cannot find a service for the path: /services/languages/java`\r\n\r\nI checked /packages/java/download/ for what Theia downloads. The found file is che-jdt-language-server-latest.tar.gz. Also, I expected a gulp-file, but I guess that file has been taken out at some point during the past month or so. Still, some of the Java language server features seem to work, like the context menu popping up when hitting Ctrl+Space in the code.\r\n\r\nAnyway, is there a fix for the mentioned error message? Is this known?"},"comment":{"url":"https://api.github.com/repos/theia-ide/theia/issues/comments/402486700","html_url":"https://github.com/theia-ide/theia/issues/2268#issuecomment-402486700","issue_url":"https://api.github.com/repos/theia-ide/theia/issues/2268","id":402486700,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjQ4NjcwMA==","user":{"login":"AlexTugarev","id":914497,"node_id":"MDQ6VXNlcjkxNDQ5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/914497?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexTugarev","html_url":"https://github.com/AlexTugarev","followers_url":"https://api.github.com/users/AlexTugarev/followers","following_url":"https://api.github.com/users/AlexTugarev/following{/other_user}","gists_url":"https://api.github.com/users/AlexTugarev/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexTugarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexTugarev/subscriptions","organizations_url":"https://api.github.com/users/AlexTugarev/orgs","repos_url":"https://api.github.com/users/AlexTugarev/repos","events_url":"https://api.github.com/users/AlexTugarev/events{/privacy}","received_events_url":"https://api.github.com/users/AlexTugarev/received_events","type":"User","site_admin":false},"created_at":"2018-07-04T13:56:32Z","updated_at":"2018-07-04T13:56:32Z","author_association":"MEMBER","body":"Hi @jeanlucburot! Can you check the `/packages/java/server` directory, is there something? After downloading the tar.gz it's supposed to be unzipped into that directory."}}
{"actor":{"display_login":"AlexTugarev"}}