Roxygenized getJavaInfo.