Call Fortran method from Java

I have some functions develped by Fortran, but now i want to call it from Java, how to do it?
would u like to give me some examples!
thanks for ur help!
gongjunAsked:
Who is Participating?
 
nir2002Connect With a Mentor Commented:
Hi,

Here is another approch:
http://www.cs.utk.edu/f2j/

Best regards
Nir

0
 
Igor BazarnyCommented:
Hi,

I guess you need a bit of C in the middle. Declare native method in java code and in it's native implementation call your fortran function.

Regards,
Igor Bazarny
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.