views:

66

answers:

1

Hi.

I'm getting a runt-time "Unsatisfied link error" for libraries installed in Linux system library, which are definitely visible. This project works normally when I let Eclipse to manage it.

Does someone know if there any caveats regarding JNI and Maven, and can advice about this case?

Thanks in advance.

+1  A: 

I would hazard a guess that Eclipse has remapped the value of the system property java.library.path for it's own purposes. This is the system property which is used to load native libraries.

I would suggest trying to tweak it by editing eclipse.ini, but if the code runs fine outside of Eclipse, why is this even a problem?

matt b
The regular run under Eclpse without MAven works normally, so this not the case.It happens only when I use Maven to launch the app.
SyBer