|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do you make fortran aplications into Web using Java?
|
|
#2
|
|||
|
|||
|
Assuming the app is command-line driven, you could set up your commandline as a String[], and execute it with
Process p=Runtime.getRuntime().exec(stringArray); and retrieve the results with something like BufferedReader results=new BufferedReader(new InputStreamReader(p.getInputStream())); and use readln to read from that. Success, Ton |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > invoking fortran from java |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|