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

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?
Posted
Updated 2-Feb-11 23:14pm
v3

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.

Regards,
Manfred
 
Share this answer
 
Comments
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