Adding java engine