Java was created to solve problems students at Stanford faced with remote computing. A group of students found issues accessing applications from other machines and developed Java as a programming language that could run on any device. Java allowed programs to be written once and run anywhere, solving the portability problems that motivated its creation.