• Post Reply Bookmark Topic Watch Topic
  • New Topic

load .dll files  RSS feed

 
Phani Ammula
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends ,actually i have to use the third party supplied dll file in my j2ee application.So could you please provide the any techniques to load that dll file in to my java app.
the requirement is that some db related tables are there in that dll file and i want to get the data from that dll
 
Campbell Ritchie
Marshal
Posts: 56546
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

DLLs are too difficult for “beginning”, so I shall move this discussion. Have you gone through a tutorial for JNI (Java™ Native Interface)?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally you'd use System.loadLibrary. The library needs to be in the PATH for that to work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!