I've seen some posts saying that this is not implemented in any way, but they are old so I figured I'd inquire again in case this has changed.
I want to build a neat toolkit based on Arduino for use in AP Computer Science classrooms. It seems like a fantastic fit -- low cost, large community, and kids get to make things in the real world do cool stuff with a minimum of programming skill.
Trick is, APCS courses are in Java, and it is unrealistic to expect a teacher to ask their students to use multiple programming languages because the focus is on learning Java well enough to pass the AP exam, not to learn to program generally.
Does something which will compile Java code to an arduino hex file exist? It seems like a long shot, but it would be amazing if this existed. If not, is there a Java VM that can be run on an arduino? That seems similarly like a long shot given the limitations of the microprocessor, but might be good enough given that my arduino is running almost no other code (I put most of the auxiliary control hardware on other chips to leave more cycles free on the arduino to work with).