Solved

Call Fortran method from Java

Posted on 2002-07-03
2
296 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running JavaFX on JDeveloper 12C 1 55
Desingning Refactoring existing code 2 26
String array comparison 4 38
Running JavaFX on the Raspberry Pi 27 41
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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

838 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