I have some library files built using JNI in the directory /usr/local/lib/.
If i start the Eclipse from luncher, the path is never picked up by Eclipse, so I need to specify -Djava.library.path to the Run Configurations.
But if I start the Eclipse from command line. It seems working fine.
Does anyone know why it behaves like this and How to configure it to known the /usr/local/lib/ path from luncher. Thanks.
I am using Eclipse SDK Version: 3.6.2, on Ubuntu OS.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…