UnsatisfiedLinkError

902 views
Skip to first unread message

hwrdprkns

unread,
Jun 16, 2011, 2:36:36 PM6/16/11
to jni4net
Hello,

I have been trying to use a custom dll with the jni4net tool, but
every time that I try and instantiate a type in my C# library I get
the following exception: java.lang.UnsatisfiedLinkError does this mean
there was something in my .dll file that couldn't be proxied with
jni4net?

Thanks,

hwrdprkns

Pavel Šavara

unread,
Jun 16, 2011, 5:23:41 PM6/16/11
to jni...@googlegroups.com
It means that there is probably some trouble with classLoaders or the
proxies are not initialized.
Make sure you call Bridge.LoadAndRegisterAssemblyFrom() on the dll
with your proxies.
The java proxies should be in system class loader for now, but it will
be improved in next release.

> --
> You received this message because you are subscribed to jni...@googlegroups.com
> http://groups.google.com/group/jni4net?hl=en-GB?hl=en-GB
> http://jni4net.sf.net/
>

Shrinidhi Narasimhan

unread,
Apr 9, 2018, 10:57:20 AM4/9/18
to jni4net
Hey,
I have the same issue. Posted a question of my problem in detail : 


Please help!
Reply all
Reply to author
Forward
0 new messages