Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366915 - Linking problem with JNA jar 3.4.0 file
Summary: Linking problem with JNA jar 3.4.0 file
Status: RESOLVED INVALID
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-16 01:50 EST by Sushant Rai CLA
Modified: 2011-12-16 13:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)