Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

One working example on native function in java  RSS feed

 
faisal usmani
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

Can we create a native function(in java) in a unix environment ? if its possible please give one working example .

Please give the details to implement it also



Regards
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun's JNI tutorial online has always been the definitive resource. I just went to look for it and it seems like they've pulled it ! I can't imagine why -- many people are going to complain.

I did find it as an archived ZIP file here. It has all the examples you need.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We like to have JNI questions in the "Other Java APIs" forum -- I'm going to move this there.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!