Register the java platform in the demo