Source: https://www.rforge.net/src/contrib/Documentation/rJava.pdf