Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

native dll lib and 64-bit/32-bit platform

Johnny_hunterMar 29 2011 — edited Mar 29 2011
Dear All:

My java app uses a customized native dll. My question is, if I want JWS to work on both 32- and 64-bit platforms (maybe more accurate, JRE), do I have to compile the DLL into 32 and 64 bit versions and configure JNLP so that it can identify the underlying JRE and use the proper dll? If so, how?

Also, I tried to specify the dll in such a way as <nativelib href="products/signed-xyzLib.dll.jar"/> but it give me exception that shows the system looks for the dll in firefox or jre/bin's directory, even thou the dll is downloaded and resides in the temporary cache (in my Windows 7, it's like: .../AppData/LocalLow/Sun/Java/Deployment/cache/... ). Why is it not found by the system (javaws, I suppose) ?

Thanks,
Johnny
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2011
Added on Mar 29 2011
2 comments
300 views