How do you define "worth"? As far as compensation goes, working with the legacy systems that nobody else wants to touch is a great way to rake in money. There are plenty of Java shops that aren't reminiscent of Dilbert's office.
If you value working with cutting edge technology there are new and interesting Java platforms, but you would undoubtedly be better off learning something more modern.