tags:

views:

27

answers:

0

Hi Everyone,

With a lot of efforts,Finally I can identify my previous problems more clearly.

My environment is as following.

Eclipse version: 3.5.2

Java version: 1.6.0_20

OS: Ubuntu 8.04

I have a SO file.

And I have a JNI method which uses SO file.

If JNI method is called with specific parameters from Application which is created by Eclipse, then the JNI method make crash. It means...

Run EclipseApplication   // Crash!

(Strangely, with other parameters the JNI method works properly.)

But JNI method is called with same parameters from native class, then it works properly. It means...

java NativeClass         // Work Fine!

Eclipse Program arguments have org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520

And SO file uses GTK. I think there is a conflict between the plugin and SO.

Now, Please let me know your opinion. Thanks a lot.

*Previous Question

http://stackoverflow.com/questions/3255095/how-can-my-so-find-its-dependent-so-in-different-ubuntu-version

http://stackoverflow.com/questions/3279522/so-file-does-not-work-sometimes