In 1991, a team of engineers at Sun Microsystems, led by James Gosling, developed Java with the original goal of creating a portable and platform-independent language.