JNI ---- native call from the java class in package


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: JNI ---- native call from the java class in package

  1. #1
    Tony Ding Guest

    JNI ---- native call from the java class in package



    Have anybody encountered the following problem:

    If your java class is in the package, you couldn't make native call through
    JNI. You always get the link error.


    Tony

  2. #2
    He Xu Guest

    Re: JNI ---- native call from the java class in package


    No, as long as you get the correct env*, jclass, jobject etc, and get the
    correct .h file,
    and don't make any little problem in the Native codes, It is Ok.
    "Tony Ding" <dling61@yahoo.com> wrote:
    >
    >
    >Have anybody encountered the following problem:
    >
    >If your java class is in the package, you couldn't make native call through
    >JNI. You always get the link error.
    >
    >
    >Tony



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center