executed from java by jaya