• Post Reply 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

UnsatisfiedLinkError

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am getting the following error in my RAD 7 console

java.lang.UnsatisfiedLinkError: pdosapi (JVMPORT015E Unable to resolve DLL references - a prerequisite DLL may be missing)

I have put the pdosapi.dll in the PATH variable ..Anything more need to configure..?Please help and let me know if there is any special file where from RAD 7 reads the .dll file ..
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am unaware of Rad 7 but from your post, it seems that you are doing it the wrong way. Because you dont put the dll in the path variable, its not going to help. instead put the dll in the application installation directory.


Hope this helps
 
Monoj Roy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks but its not working again .. and the same error ..
 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't know for sure if it helps, but have you tried registering the dll?
Or as a last resort have you tried moving the dll to System32 folder of Win OS?
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
UnsatisfiedLinkError means that Java cannot find a native library (a DLL on Windows) that it needs. Try starting your program by using the -Djava.library.path=... option:

java -Djava.library.path=dir that contains the DLL com.mycompany.mypackage.MyMainClass
 
Ranch Hand
Posts: 1970
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by K Aditi:
Don't know for sure if it helps, but have you tried registering the dll?
Or as a last resort have you tried moving the dll to System32 folder of Win OS?



You don't need to register JNI DLLs with Windows. Registering DLLs is a COM thing, I believe.

Be very careful about moving DLLs to System32. You can get very confused if you ever forget to remove it again. I advise against "trying" this.
 
Monoj Roy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot each of you for helping my problem .

I solved it .

The problem was I have not included another .dll file that was reference by pdosapi.dll which is my application specific ,Now I have put all of them in a folder and added them to PATH and it is working .

Once again Thanks everybody .
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic