|Re: Equinox Launcher and LD_LIBRARY_PATH [message #1060172 is a reply to message #1060152]
||Thu, 23 May 2013 11:51
| Kaloyan Raev
Registered: July 2009
Location: Sofia, Bulgaria
Pascal, you rock! (as always)|
Your second suggestion leads to a very elegant solution. I can define a BrowserInitializer class (as suggested in the SWT FAQ ), that is called before SWT creates the first instance of a browser, and load my own version of WebKitGTK in its static initializer using Runtime.load().
However, I'd like to explore also your first suggestion, which I didn't understand very well. My Eclipse-based product is indeed started using the Eclipse launcher - the executable. What do you mean by "store your library next to it"? I copied my library in the root folder (where the launcher executable is) of my product, but this didn't help loading my library instead of the one installed in the OS.
Powered by FUDForum
. Page generated in 0.02198 seconds