[flagged]
There is zero risk to using Java. People standardly use OpenJDK builds, which are freely and widely available under open source licensing (GLPv2 + classpath exception). In regards to maintenance, Java continues to be one of the most highly invested languages in existence.
Are you talking about Java(tm) or Java, the language? Because that is a big operational risk difference.
Edited my original comment.
Java (and it's derivatives) is an amazing language and JVM is nothing short of an engineering miracle. It's highly useful in building reliable enterprise services.