This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to start JNI ?  RSS feed

 
S Rubia
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I want to start JNI ,but i had aconfusion
1--What package or product should be installed to work in JNI And from which link i can download it?
2--about C++ ,that what version of C++ should i used ,I only heard of VisualC++ (microsoft prd) is this required for JnI or there is some other companys C++ required.
again from which link to download?
thanks in advance.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need anything except the standard Java Developer's Kit. The JNI interface uses only extern "C" linkage, so you can actually use any C++ compiler appropriate for your platform.
A great place to start is Sun's JNI tutorial -- see http://java.sun.com/docs/books/tutorial/native1.1/index.html .
 
S Rubia
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Earnest,
but can u tell me
1--the name of Native Interface and in which package it exists
2--and from which link i can download the API for this Interface..
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please go and read the tutorial at the link I provided, which will explain that the C header files are included in the JDK (so you don't need to download anything else, as I said) and that there's no Java package that corresponds to the JNI. The tutorial contains all the information you need. Please work through it and you'll understand.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!