Yes there is: https://dukescript.com/.
But you can also think of transpiled approaches such as GWT. Personally my favorite is JSweet (http://www.jsweet.org) because you get to write actual JavaScript in Java, and I find that the canvas API and other SVG or WebGL APIs allow much more things that what was done in Java.