Does something which will compile Java code to an arduino hex file exist?
the focus is on learning Java well enough to pass the AP exam, not to learn to program generally.
Java is about being hardware independent.
I don't think about how garbage collection works when I write in C either
C is an amazing blessing in comparison ;-) I assume Java is minimally different.
what is the difference between running java bytecode in a JVM on an arduino versus a JVM on i386