Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366915

Summary: Linking problem with JNA jar 3.4.0 file
Product: [Eclipse Project] PDE Reporter: Sushant Rai <sushant9090>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3 CC: curtis.windatt.public
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Sushant Rai CLA 2011-12-16 01:50:54 EST
Build Identifier: M20110909-1335

I am trying to execute a simple JNA Tutorial given under following Site <http://en.wikipedia.org/wiki/Java_Native_Access> , But everytime I execute it, I get java.lang.ClassNotFoundException: com.sun.jna.win32.StdCallLibrary.

Same code works fine with java command like execution. I feel the referenced library mechanism does not work properly.

Reproducible: Always

Steps to Reproduce:
1.Download and import to Referenced Libraries JNA3.4.0 from https://github.com/twall/jna
2.Create An example explained in <http://en.wikipedia.org/wiki/Java_Native_Access>
3.Execute the example.
Comment 1 Curtis Windatt CLA 2011-12-16 13:22:57 EST
It sounds like you have a configuration problem, not a bug.  It is certainly not a problem with PDE Build.  Please try the Eclipse forums (www.eclipse.org/forums/) or IRC.

You should check the contents of the JDT classpath (Right click on project > Properties > Java Build Path)