permaculture playing cards*
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 Android Security Essentials Live Lessons this week in the Android 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: 19654
    
  18

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
 
Consider Paul's rocket mass heater.
 
subject: java.lang.UnsatisfiedLinkError
 
Similar Threads
convert jbyteArray into jString ?
jni methos in c++ class
unable to compile (calling C function from Java code)
How to solve UnsatisfiedLinkError? - URGENT...please help
JNI Help