Nepedia
Back to Discover
Independent Reader
💻

Java (programming language)

technology Maturity 7-9 Next article →

Java is a way to talk to computers.

Duke (Java mascot) waving
Duke (Java mascot) waving

It is a programming language. This is a set of rules for writing code. James Gosling helped create it in 1991.

James Gosling 2008
James Gosling 2008

He worked at a company called Sun Microsystems. At first, the project was named Oak. Later, it was named Java after a type of coffee.

Java has a special goal. It lets people "write once, run anywhere." This means code can run on many different machines. It does this using bytecode. Bytecode is a middle step for the code. A tool called a Java virtual machine, or JVM, reads this bytecode. The JVM acts like a translator. It turns the bytecode into a language the computer understands. This works on laptops and even supercomputers.

Java also helps keep computers safe. It has a tool called a garbage collector. This tool manages memory. Memory is the space a computer uses to work. The collector finds parts of memory that are not being used. Then, it clears them out automatically. This helps the programmer focus on their work.

175 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:Duke (Java mascot) waving.svg
Duke (Java mascot) waving.svg
File:James Gosling 2008.jpg
James Gosling 2008.jpg
File:JavaUniverse.png
JavaUniverse.png
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.