For Programmers: Free Programming Magazines  


Home > Archive > Fortran > August 2005 > java -> fortran bindings









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author java -> fortran bindings
William Z.

2005-08-25, 6:59 pm

Has anyone written any java bindings into fortran. I'd like to add some
monitors into my fortran code so that I can observe it's progress in my
java gui.

Any good resources much appreciated.

e p chandler

2005-08-26, 7:57 am


William Z. wrote:
> Has anyone written any java bindings into fortran. I'd like to add some
> monitors into my fortran code so that I can observe it's progress in my
> java gui.
>
> Any good resources much appreciated.


try "JAPI" - "Java Application Programming Interface"

http://www.japi.de/

It runs on Win32, Linux or Solaris, and has bindings for a variety of
languages. Source is available.

Minor problems:

1. You must have a JRE installed.

2. For some, AWT programming is primitive.

3. Binaries are for G77. 2.95.2 is an old version. I've tried it with a
G77 3.x and it works. I don't know about g95 or gfortran, but there is
source.

4. It uses sockets to communicate with the Java runtime. On Windows XP
- I have SP2 - each time a program is run it brings up a warning from
my Windows "firewall". You either need to permit each program to run or
you need to open a specific port in the settings. Sorry I can't
remember which.

5. It's old. 2003. It may not be maintained. The best documentation is
in German.

HTH

Elliot

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com