Update Platform.java