Click here to Skip to main content
15,606,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have written a Java program that uses jni in windows.
Now I want to know, if this program is portable and if I can run it in another OS?
Updated 2-Feb-11 23:14pm

1 solution

JNI is javas native interface and was meant to integrate system specific processes with the java world. Since programs\libraries that are used on one OS can't be directly used on another OS, I would say that you would have to port the library/program from windows to whatever OS you're planning to use.

Share this answer
Espen Harlinn 4-Feb-11 11:33am    
Good answer, 5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900