Java has multiple distributions. Two of the major distributions are one from Oracle and the other from OpenJDK. OpenJDK is completely free and supported by global open source community. While Oracle JDK is also free but there are specific expenses associated with it.