What is the Purpose of Java?

Java is a computer programming language. The purpose of Java is to create programs. The purpose of the Java runtime environment which you may have been prompted to downloaded is to run certain files that are required by Java programs.