eclipse plugin not loading dll due to long path

Posted by user113018 on Stack Overflow See other posts from Stack Overflow or by user113018
Published on 2009-06-02T16:50:19Z Indexed on 2010/04/20 12:03 UTC
Read the original article Hit count: 491

Filed under:
|
|
|
|

I am building an eclipse plugin (a notes plugin, but its a eclipse plugin in the end). One of the plugins my plugin depends on needs to load a native dll.

The problem is, that fails depending on where in the disk such dll is. If it is longer than a certain threshold I get the error below

java.lang.UnsatisfiedLinkError: nlsxbe (The filename or extension is too long. ) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:952) at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:921) at java.lang.System.loadLibrary(System.java:452) at lotus.domino.NotesThread.load(Unknown Source) at lotus.domino.NotesThread.checkLoaded(Unknown Source) at lotus.domino.NotesThread.sinitThread(Unknown Source) at com.atempo.adam.lotus.plugin.views.TopicView.createPartControl(TopicView.java:609)

I have added the path to Path env var, and also registered the dll to no avail. My env is Ms vista profesional, java1.5, eclipse3.4 (and lotus 8)

Anyone out there have a clue?

Many thanks in advance.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about dll