Solved

Call Fortran method from Java

Posted on 2002-07-03
2
295 Views
Last Modified: 2013-11-08
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!
0
Comment
Question by:gongjun
2 Comments
 
LVL 7

Expert Comment

by:Igor Bazarny
ID: 7129293
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
 
LVL 2

Accepted Solution

by:
nir2002 earned 200 total points
ID: 7129434
Hi,

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

Best regards
Nir

0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Basic Java Case or If-Else statement... 3 50
diffSum example 4 37
Math Equation 23 87
ejb on wildfly 5 20
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question