Trying to 'compile in' Java could be problematic - but I believe Google has a tool for compiling Java code into JavaScript - so that might be an interesting start?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Trying to 'compile in' Java could be problematic - but I believe Google has a tool for compiling Java code into JavaScript - so that might be an interesting start?