Putting SWT JNI libraries in classpath in Netbeans

Discussion in 'Java' started by lionelv@gmail.com, Feb 13, 2007.

  1. Guest

    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.
     
    , Feb 13, 2007
    #1
    1. Advertising

  2. On 12 Feb 2007 17:43:06 -0800, wrote:
    > 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

    --
    [ don't email me support questions or followups ]
    g o r d o n + n e w s @ b a l d e r 1 3 . s e
     
    Gordon Beaton, Feb 13, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Flip
    Replies:
    3
    Views:
    7,286
    Tony Morris
    Feb 9, 2004
  2. Saurabh
    Replies:
    6
    Views:
    4,550
    Chris Smith
    May 30, 2004
  3. Gabe
    Replies:
    3
    Views:
    1,081
  4. Marcello
    Replies:
    16
    Views:
    6,820
    Jon Martin Solaas
    Apr 25, 2006
  5. Ramon F Herrera

    Where can I download SWT? (SWT homepage)

    Ramon F Herrera, Dec 5, 2007, in forum: Java
    Replies:
    11
    Views:
    4,060
    Ramon F Herrera
    Dec 6, 2007
Loading...

Share This Page