Give access to the map when using JavaExport