That's true for any language, and any platform. The language can't save you from having to, at some point, understand how to properly engineer software.
Grab a copy of "java concurrency in practice", it's my go-to book for when I've got a tricky concurrency problem to solve.