add support to run java