I would say developing for java that ultimately will run on mainframe is worse than developing for java for another platform (because deploying to your development websphere is slow and not so reliable). The other problem is that Java is the most 'modern' programming language available. Nobody wants to write a web app in COBOL or C. But Java isn't that good at it either (even without websphere, java does not deploy as fast as python, ruby, php, go). The only misconception is that its 20 years out of date instead of 50. The best reason to stay well clear of it is cost, though. Not just increased development cost but those things are expensive. But for a developer it can be good. Mainframe orgs tend to be stable and pay above average.