Changed platform to java