Access program through java interface