Java will leave forever at the enterprise level for some Android development and for J2EE. I did Java for a long time for both backend, mobile, and even desktop (the sin). Java is stable, has tons of libraries, and is true and proven. I do not enjoy working in Java (mobile was good for a while with the RxJava)... but it feels dated and stopped using. I moved to Python for the backend, Kotlin/Swift/Delphi for mobile, and Delphi for Desktop. Btw I also dislike Javascript, Node, and TypeScript.