Switch to java