in a Software Update near you (if you're using Tiger) is Java 2 Standard Edition (J2SE) 5.0 Release 4, which
"improves reliability and addresses issues found in earlier releases of J2SE 5.0 for Mac OS X
update also brings compatibility with Sun's Java 2 Platform Standard Edition, version 5.0 (1.5.0_06).
See this Apple Support document
for more information.