DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Hybrid View

  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



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
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links