First working version of java communication with fortran code