Putting SWT JNI libraries in classpath in Netbeans

L

lionelv

I've taken over a project and I've moved to Netbeans because it is
what I am familiar with and I just wasn't getting used to Eclipse.

The project uses SWT and I've got it up and running in Netbeans. The
only problem is that I've done one bad thing to get it running
(temporarily). I've put the .dll files in c:\windows\system32. I
couldn't successfully get it to work otherwise.

Does anyone know what I have to do to tell Netbeans how to find these
files. I did project properties->libraries->add jar/folder but it
didn't work.

Thanks

Lionel.
 
G

Gordon Beaton

The project uses SWT and I've got it up and running in Netbeans. The
only problem is that I've done one bad thing to get it running
(temporarily). I've put the .dll files in c:\windows\system32. I
couldn't successfully get it to work otherwise.

You need to put the dll's in your PATH, or set system property
java.library.path so that it includes their location. I don't know how
you do that in Netbeans.

/gordon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top