Results 1 to 4 of 4
  1. #1
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    8

    Default java.lang.UnsatisfiedLinkError: no parport in java.library.path

    Can you help me? I'm using parport in NetBeans but I doesn't work, the program shows the error when the object ParallelPort is created.

    Java Code:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no parport in java.library.path
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:992)
            at parport.ParallelPort.<clinit>(ParallelPort.java:90)
            at testport.Main.main(Main.java:28)
    Java Result: 1
    Thanks
    Last edited by Heather; 06-30-2007 at 03:50 PM.

  2. #2
    bbq
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Posts
    132
    Rep Power
    0

    Default

    I recommend you copy the .dll in this path C:\WinNT\System32
    try this and then tell us
    Last edited by bbq; 06-29-2007 at 03:53 PM.

  3. #3
    Jack is offline Senior Member
    Join Date
    Jun 2007
    Posts
    130
    Rep Power
    0

    Default

    Check netbeans, it has an option to incorporate it in the execution.
    It should be as "VM Arguments"
    good luck

  4. #4
    danielfev is offline Member
    Join Date
    Sep 2009
    Posts
    1
    Rep Power
    0

    Default

    if you are working in NETBEANS you have to:
    1. enter to poject properties
    2. Libraries
    3. define libraries folder (i recommended create a folder inside the project "lib")
    4. go to libraries folder and copy all parport folder (dont close project properties)
    5. finally click on add JAR/Folder and select del libraries folder "lib"

    that's all

Similar Threads

  1. java.lang.OutOfMemoryError: Java heap space
    By paul in forum Advanced Java
    Replies: 11
    Last Post: 06-12-2010, 06:30 PM
  2. Replies: 2
    Last Post: 09-18-2008, 08:30 AM
  3. Setting Java Path
    By bugger in forum New To Java
    Replies: 2
    Last Post: 11-22-2007, 10:48 AM
  4. java.lang.OutOfMemoryError with java vector
    By mary in forum New To Java
    Replies: 3
    Last Post: 08-03-2007, 11:55 AM
  5. java.lang.UnsatisfiedLinkError: JAWT_GetAWT()
    By Albert in forum AWT / Swing
    Replies: 2
    Last Post: 07-01-2007, 05:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •