Java used to be a favourite programming language for most of the developers. It was initially developed by sun microsystems. Oracle then took over Sun microsystems. Java used to be free until version 8 (Java 8). But Oracle has changed its license agreements recently. The following link provides clarity on the terms and condition to use Java. Following are free Java alternatives.