getInfo renamed to getJavaInfo and exported