This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes java.lang.UnsatisfiedLinkError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "java.lang.UnsatisfiedLinkError" Watch "java.lang.UnsatisfiedLinkError" New topic
Author

java.lang.UnsatisfiedLinkError

H Padia
Greenhorn

Joined: Nov 18, 2009
Posts: 8
Hello,

I am getting the following error. Please advide where I may be going wrong.

Exception in thread "main" java.lang.UnsatisfiedLinkError: Plcio.open(Ljava/lang/String;)I
at Plcio.open(Native Method)
at Plcio.main(Plcio.java:11)


Plcio.java


Plc.h



Plc.cpp




Regards,

-H
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19725
    
  20

Since when do native methods go into C++ classes? Try extracting it from the class.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.UnsatisfiedLinkError