java program communication(jpc)