Results 1 to 3 of 3
  1. #1
    Bharathgl is offline Member
    Join Date
    Jan 2012
    Posts
    1
    Rep Power
    0

    Default Calling native function

    hi all,

    i have created a c implementation with the void pointer s one of the parameter to it.. but my jvm couldn't find the method and saying that unsatisfiedlinkerror for that native method call. i am sure i have loaded the dll file correctly and made the path in env variable.. can u anyone pls help me???

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Calling native function

    You're leaving out a lot of detail to your question: Have you used javah to create the header file? How familiar are you with using JNI?

  3. #3
    JeffThomas is offline Member
    Join Date
    Dec 2011
    Posts
    31
    Rep Power
    0

    Default Re: Calling native function

    Can you post a code snippet and point out what line has the problem?

Similar Threads

  1. Calling function in Javascript- from other function
    By jdigger in forum New To Java
    Replies: 1
    Last Post: 02-27-2011, 09:00 PM
  2. Calling the Function again
    By Swetz55 in forum New To Java
    Replies: 2
    Last Post: 12-19-2009, 11:10 AM
  3. Calling a generated GUI function
    By dejos456 in forum New To Java
    Replies: 5
    Last Post: 12-09-2009, 07:02 PM
  4. Weird problem upon calling same function twice
    By alin_ms in forum New To Java
    Replies: 2
    Last Post: 12-20-2008, 06:14 PM
  5. Calling Java Function through JSP
    By Vikrant Pawar in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 06-06-2008, 06:28 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
  •