If you ever encounter the dreaded “The Eclipse executable launcher was unable to locate its companion shared library.” error message when starting the Eclipse executable launcher and you are running Windows make sure that the path to the folder containing the Eclipse executable launcher ist not too big.

As of 2016 most Windows programs and APIs still can not cope with paths longer than 256 characters:

Eclipse Executable Launcher Error message.

Eclipse Executable Launcher Error message.

Especially when running Maven Tycho builds the path containing the Eclipse executable launcher tend to get long. For instance:

/cygdrive/c/Users/zaunerc/eclipse_workspaces/a_project/repos/e4-notification/org.beanaire.ui.e4.notification.demo.product/target/products/org.beanaire.ui.e4.notification.demo.product/win32/win32/x86_64/e4-notification-demo.exe`

If you have to troubleshoot other problems dealing with the Eclipse executable launcher or you just want to see how it’s implememented you can checkout the source code here.

A note about Netcup (advertisement)

Netcup is a German hosting company. Netcup offers inexpensive, yet powerfull web hosting packages, KVM-based root servers or dedicated servers for example. Using a coupon code from my Netcup coupon code web app you can even save more money (6$ on your first purchase, 30% off any KVM-based root server, ...).