Compiles and jars files correctly