The message that you indicate is a warning, not an error.
Note: .\OOM.java uses unchecked or unsafe operation
Note: Recompile with -Xlint:unchecked for details.
You can see that the .class files were generated.
In other words, the warning can be ignored.
You can ignore these warnings.