Call Fortran method from Java

Posted on 2002-07-03
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!
Question by:gongjun

Expert Comment

by:Igor Bazarny
ID: 7129293

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.

Igor Bazarny

Accepted Solution

nir2002 earned 200 total points
ID: 7129434

Here is another approch:

Best regards


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse argument 14 53
How to monitor the number of connections/threads being utilized on Tomcat 6.0 8 51
ForLoop Example 3 40
table example 4 20
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

914 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now