GitHub
The Java Version Almanac
javaalmanac.io
Feedback on this page?

Java 5

Status End of Life
Release Date 2004-09-30
EOL Date 2015-04-15
Latest Version 5.0u85
Codename Tiger
Class File Version 49.0
Unicode Version 4.0.0
API Changes Compare to 1.4 - 1.3 - 1.2 - 1.1 - 1.0
Documentation Release Notes, Language Spec, VM Spec, JavaDoc
SCM
With many new language features this release made Java look like a modern programming language. For-each loops, autoboxing, static imports, enums etc. enabled a more concise coding style. With parameterized types we got compile time safety instead of cumbersome type cast expressions.

New Features

Here are all new features in Java 5 by category. There is also of list of all features of all Java releases.

Language

API

Should I Upgrade?

Java 5 is end-of-life since 2015-04-15. Unless you have a support contract for this version and a compelling reason to stay on the old version you should definitely upgrade to a newer version with active support.

Please consider upgrading to a current long term support LTS version Java 8, Java 11, Java 17 or Java 21 to rely on a maintained platform and get advantage of the latest features and improvements.

Downloads

Vendor Product License Platform Downloads
Oracle Java SE Development Kit 5 Commercial
  • linux-x86
  • linux-x64
  • solaris-sparc
  • solaris-sparcv9
  • solaris-x86
  • solaris-x64
  • windows-x86
  • windows-x64