# DLL in jar file

sasank (roxros@rocketmail.com)
Mon, 8 Feb 1999 14:18:16 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Joel Parker Henderson: "SWAN Java security problems"
- Previous message: Mel: "New for "99" !!!!!"

    Date: Mon, 8 Feb 1999 14:18:16 -0800 (PST)

    From: sasank <roxros@rocketmail.com>

    Subject: DLL in jar file

    To: java-security@java.sun.com

Hi,
I have a java application from which I call a
function in a DLL using System.loadLibrary(). This
works if it is a simple .class file.
Now when I make a jar file without including the DLL
and try to execute it, I get
unsatisfiedLinkedError:funcName error, where funcName
is defined in the DLL. What is wrong ? I have set my
system path to point to the directory containing the
DLL.
Also I plan to have my DLL finally in the jar file.
What changes should I make to my code or elsewhere
such that the loadLibrary() knows to look for the DLL
in the jar file? I have seen the security archieves 1
and 2 to find solutions. But they don't seem to help
me much. Can someone explain in detail what happens
behind the scenes or where should I look for this
information.

Prompt reply is greatly appreciated. Thanks in Advance.

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Next message: Joel Parker Henderson: "SWAN Java security problems"
- Previous message: Mel: "New for "99" !!!!!"