Fixed #8 avoid java source/class name conflict.
Fixed #9 throw Exception when compile.path is invalid or readonly.