Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Including .dll in .jar files

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hi,
I am developing a plugin for eclipse which takes an external jar file. For this jar file to perform it's function, it requires yet another 2 .dll files. How do I add/reference the dll files in the plugin, if i have to do it using the classpath, what will the syntax look like, considering the fact that the dll files are C:/windows/system32/jawin.dll and D:/ematrix/mqlio32u.dll.
Thanks in advance

vijai
 
Rancher
Posts: 5008
38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I don't think the OS will look in a jar file to find a dll. It probably looks on a special path such as the PATH environment variable holds and possibly the current directory.

How does your code reference the dll? Does is use JNI or some other OS specific code?

> what will the syntax look like
What syntax are you talking about?
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Also being discussed here, so I'm closing this. Have a look at here when you have a chance, please.
 
    Bookmark Topic Watch Topic
  • New Topic