Support both android and java projects.
getRuntimeJarList is a private API.