Fixed 2 issues raised by Idafen

One had to do with the java version. The other with a capital letter
when copying resources