• Post Reply Bookmark Topic Watch Topic
  • New Topic

How How to use unix system APIs?  RSS feed

 
chandana sapparapu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to know if I can use unix system APIs from Java? Let's say I want to use posix threads in my code that I want to run on a unix platform to create multi-threaded application. Could you tell me how I can do that?
Regards,
Chandana
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd need a JNI library that links the JVM to the programming interface of the operating system.
Here's a page that describes this:
http://www.bmsi.com/java/posix/package.html
Moving this to Linux/Unix forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!