First time playing terminal - can't upload algo

First time playing terminal. I’m trying to upload the java starter algo. I followed the instructions (added a line of code in file “StarterAlgo.Java”, method “onTurn”, and then changed its folder name from “starteralgo” to “java-algo”. I tried to upload this folder, but received error message “Algo failed to compile. Please remove and upload a different algo.”. Anyone has any thoughts on what I’m doing wrong? Do I need to upload just the folder that contains the class StarterAlgo? i tried also uploading the “java-algo” folder and received the same error message - thanks

Update:
There seems to be a mistake in the instructions. The line of code below doesn’t compile:
move.attemptSpawnMultiple(Arrays.asList(new Coords[]{new Coords(24,10), new Coords(24,10), new Coords(24,10)}), UnitType.EMP);
(there’s no EMP in UnitType), so I ended up changing it to:

move.attemptSpawnMultiple(Arrays.asList(new Coords[]{new Coords(24,10),
new Coords(24,10), new Coords(24,10)}), UnitType.Demolisher);

The algo uploaded and compiled after the change.

Thanks for the heads up, illl fix this.