Java was developed in the early 1990s to create graphical applications for the web and handheld devices. It became popular for creating interactive web applications called applets. Java is compiled to bytecode that can run on any Java Virtual Machine, making Java programs platform independent. The Java Development Kit includes tools like a compiler and interpreter that are used to develop and run Java programs.