开发者

Applet linking to dll outside Eclipse

开发者 https://www.devze.com 2023-02-19 01:05 出处:网络
I have an applet that is loading dll\'s开发者_JS百科 through system.loadlibrary, so in Eclipse I can set the Native Library path to point to my dll\'s, and then eclipse finds it and loads it.

I have an applet that is loading dll's开发者_JS百科 through system.loadlibrary, so in Eclipse I can set the Native Library path to point to my dll's, and then eclipse finds it and loads it. However, when I try to embed the applet in a browser (running locally), it cannot find the dll. "no testdll in java.library.path" Even though the html, the jar file, the class file, the dll all reside in the same folder.

On the client side, I prefer not to have the users having to download and install the dll's separately and then configure their java path. My idea was to somehow incorporate them into the jar file in the applet. Is this possible?

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消