Java regained popularity in recent years after losing some ground to other languages like JavaScript. While JavaScript is used more for front-end web development, Java remains very widely used, especially for large back-end systems and applications like Hadoop. Java also continues to be popular with engineers due to its large ecosystem of frameworks and libraries that make development easier.