Java là ngôn ngữ lập trình OOP, strongly-typed, chạy trên JVM. Source .java biên dịch ra bytecode .class; JVM trên bất kỳ OS nào cũng chạy được bytecode đó — đó là "Write Once, Run Anywhere". Ra đời 1995 (Sun Microsystems, James Gosling), hiện do Oracle và OpenJDK chăm sóc. LTS phổ biến 2026: Java 17 và Java 21 (support tới ≥2031).
Vì sao vẫn dùng nhiều: hệ sinh thái khổng lồ (Spring Boot, Hibernate, Kafka, Elasticsearch), JVM trưởng thành (G1/ZGC, JIT), backward compatibility tốt (code Java 8 thường chạy được trên Java 21), hiện đại hoá đều đặn (virtual threads, records, sealed classes, pattern matching).
Dùng tốt cho: backend server, microservice, ngân hàng/fintech, big data (Spark, Flink), Android (Kotlin trên JVM). Không lý tưởng cho script ngắn (Python nhanh hơn), front-end web, low-level systems (C/Rust thắng).
Java is an object-oriented, strongly-typed language running on the JVM. Source .java files compile to bytecode .class; any JVM on any OS can execute it — that is "Write Once, Run Anywhere". Released in 1995 (Sun Microsystems, James Gosling), now stewarded by Oracle and OpenJDK. Popular LTS versions in 2026: Java 17 and Java 21 (supported through ≥2031).
Why it is still everywhere: massive ecosystem (Spring Boot, Hibernate, Kafka, Elasticsearch), mature JVM (G1/ZGC, JIT compilation), strong backward compatibility (Java 8 code usually runs on Java 21), steady modernisation (virtual threads, records, sealed classes, pattern matching).
Good fit for: backend servers, microservices, banking/fintech, big data (Spark, Flink), Android (Kotlin on the JVM). Not ideal for short scripts (Python is faster), front-end web, low-level systems (C/Rust wins).