Skip to content

Ubuntu 18.04.6 LTS + Eclipse 2023-03 M2: Language server startup fails because GLIBC_2.28 requirement #1096

@germanicianus

Description

@germanicianus

I only found that out when looking at the first language server error message directly after starting Eclipse and then trying to get node installation info on command-line which immediately threw below error.

./node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./node)`

In fact Ubuntu 18.04.6 LTS is now excluded from using the embedding node despite it is still supported until 2028.

See also nodejs/node#42351 and below info.

Eclipse:

eclipse.buildId=4.27.0.20230202-0736
java.version=17.0.6
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -data file:/<eclipse-workspace-path>/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

Error:

java.util.concurrent.CompletionException: java.lang.RuntimeException: java.io.IOException: Unable to start language server: ProcessStreamConnectionProvider [commands=[/<eclipse-installation-path>/eclipse64_202303_m2/.node/node-v18.12.1-linux-x64/bin/node, /<eclipse-installation-path>/eclipse64_202303_m2/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/typescript-language-server/lib/cli.js, --stdio], workingDir=/<eclipse-installation-path>/eclipse64_202303_m2/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/]
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.RuntimeException: java.io.IOException: Unable to start language server: ProcessStreamConnectionProvider [commands=[/<eclipse-installation-path>/eclipse64_202303_m2/.node/node-v18.12.1-linux-x64/bin/node, /<eclipse-installation-path>/eclipse64_202303_m2/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/typescript-language-server/lib/cli.js, --stdio], workingDir=/<eclipse-installation-path>/eclipse64_202303_m2/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/]
	at org.eclipse.lsp4e.LanguageServerWrapper.lambda$0(LanguageServerWrapper.java:270)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	... 6 more
Caused by: java.io.IOException: Unable to start language server: ProcessStreamConnectionProvider [commands=[/<eclipse-installation-path>/eclipse64_202303_m2/.node/node-v18.12.1-linux-x64/bin/node, /<eclipse-installation-path>/eclipse64_202303_m2/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/node_modules/typescript-language-server/lib/cli.js, --stdio], workingDir=/<eclipse-installation-path>/eclipse64_202303_m2/plugins/org.eclipse.wildwebdeveloper_1.0.1.202211171559/]
	at org.eclipse.lsp4e.server.ProcessStreamConnectionProvider.start(ProcessStreamConnectionProvider.java:57)
	at org.eclipse.wildwebdeveloper.ui.preferences.ProcessStreamConnectionProviderWithPreference.start(ProcessStreamConnectionProviderWithPreference.java:120)
	at org.eclipse.lsp4e.LoggingStreamConnectionProviderProxy.start(LoggingStreamConnectionProviderProxy.java:218)
	at org.eclipse.lsp4e.LanguageServerWrapper.lambda$0(LanguageServerWrapper.java:268)
	... 7 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions