facebook

Exception in thread "main" java.lang.UnsatisfiedLi

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #322815 Reply

    arunsny
    Member

    Hallo profis,

    I have a problem with my program for reading the serial port every time i run the program i get in the console the following statement.I have added libjscc.dll to the reference libraries and still having he same problem

    Exception in thread “main” java.lang.UnsatisfiedLinkError: no libjssc in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at jssc.SerialNativeInterface.<clinit>(SerialNativeInterface.java:34)
    at jssc.SerialPort.<init>(SerialPort.java:93)
    at rs232.serial.comm.read.serialREAD.main(serialREAD.java:14)

    IN the problems i have 2 errors

    Description Resource Path Location Type
    Archive for required library: ‘lib/libjssc.dll’ in project ‘SensDev_Calibration’ cannot be read or is not a valid ZIP file SensDev_Calibration Build path Build Path Problem

    Description Resource Path Location Type
    The project cannot be built until build path errors are resolved SensDev_Calibration Unknown Java Problem

    i am posting the screnshots of my program and

    Attachments:
    You must be logged in to view attached files.
    #322866 Reply

    support-joy
    Member

    arunsny,

    Please refer Brian’s reply here – https://www.genuitec.com/forums/topic/jssc-jar-and-linjssc-dll-not-working-with-new-version/#post-322458&highlight=#128967

    Have you tried out the steps listed by Brian?

    #322882 Reply

    arunsny
    Member

    Yeah i have tried the steps mentioned by Bria now its working thank you for your help.

    #322884 Reply

    support-joy
    Member

    arunsny,

    Good to hear you are all set.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Exception in thread "main" java.lang.UnsatisfiedLi

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in