Results 1 to 6 of 6

Thread: Eclipse: java.lang.UnsatisfiedLinkError

  1. #1
    Join Date
    Jan 2010
    Posts
    76

    Eclipse: java.lang.UnsatisfiedLinkError

    I am about to share with me a little Eclipse collapse or drift apart and I as a problem that prevents me to continue. I have an application that builds a connection SAPJCo3. Now when I start the application, I get the error:
    INFO: SAPIFS running in callback mode
    java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path
    java.lang.ClassLoader.loadLibrary at (ClassLoader.java: 1754)
    Unless so nothing bad, it just does not find the sapjco3 ... I thought to myself. So I have me in the Run Configuration to the app, the argument.
    Djava.library.path = "C: \ Documents and Settings \ ... \ com \ sap \ sapjco \ 3.0.2"
    Recorded and was hoping that it would be solved ... It was not, however, it was not, after I added the JAR file additionally in the class path with. You can send me here, but determined to help?

  2. #2
    Join Date
    Mar 2008
    Posts
    227

    Re: Eclipse: java.lang.UnsatisfiedLinkError

    In my eclipse projects I take in as sapjco3.jar Referenced Library. For doing that you will have to follow the steps :
    Right click on project, Build Path> Configure Build Path ... > Add External JARs.
    Maybe that solves your problem.

  3. #3
    Join Date
    Jan 2010
    Posts
    76

    Re: Eclipse: java.lang.UnsatisfiedLinkError

    Thanks for the tip, unfortunately he has not delivered the desired result ... I still get the error. Additionally, I'm including even found a bug (has checked against that was previously already there). Exception in thread "SAPIFS" java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: com.sap.conn.rfc.driver.CpicDriver.nativeCpicGetVersion ... Hope that you got my point.

  4. #4
    Join Date
    Mar 2008
    Posts
    232

    Re: Eclipse: java.lang.UnsatisfiedLinkError

    Hello Gadin, Yes, the DLL I've packed in with the directory. Meanwhile, I have both JAR, DLL in all directories really packed in, which are displayed in my lib path, but still the same error ... That makes me mad again ... So anyone having any solution about it, please share some solutions over here. I have tried to search it on Internet but didn't find any appropriate solutions.

  5. #5
    Join Date
    Apr 2008
    Posts
    193

    Re: Eclipse: java.lang.UnsatisfiedLinkError

    We ran the SAP JCo not until I was sure that the .NET Framework 2.0 SP1 must be installed. As I just had to find after a lengthy investigation, is for SAP JCo on Windows Server 2003 compelling .NET Framework 2.0 SP1 is required because the parcel belonging to the JCo sapjco3.dll is tied explicitly to this version. This is not installed by house in Server 2003. After downloading and installing the .NET 2.0 and the online update to SP1, the DLL will be loaded last. This is only an indication, if future projects just combine this interface.

  6. #6
    Join Date
    Dec 2008
    Posts
    183

    Re: Eclipse: java.lang.UnsatisfiedLinkError

    On the same machine it is running outside of Eclipse? Strange. Time the DLL directly to WINDOWS \ SYSTEM32 copied? The error message is exactly the discussion in the SAP forum if the DLL can not be loaded. Here it is running within Eclipse but even without that the DLL is located in SYSTEM32. This is sapjco3.jar in the Java Build Path, the DLL in the same directory as the JAR.

Similar Threads

  1. Error - java.lang.NumberFormatException
    By Vodka in forum Software Development
    Replies: 5
    Last Post: 05-03-2010, 11:57 AM
  2. Error Java.lang.OutOfMemoryError
    By Logan 2 in forum Software Development
    Replies: 5
    Last Post: 04-03-2010, 12:42 PM
  3. What is java.lang.NullPointerException
    By Logan 2 in forum Software Development
    Replies: 5
    Last Post: 27-02-2010, 05:30 AM
  4. java.lang.NoClassDefFoundError: Classname
    By Learningj in forum Software Development
    Replies: 3
    Last Post: 09-11-2009, 08:59 AM
  5. Java.lang.OutofMemory.Exception error
    By Unnat in forum Software Development
    Replies: 3
    Last Post: 07-05-2009, 11:23 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,574,776.08639 seconds with 17 queries