More or less. The Java that is included in Mac OS X, and on almost all systems, follows the Java2 standard.
Unless you're trying to write software for the earliest prototype Java devices, or reading from decade old textbooks, you can pretty much ignore the issue.