If you can find a JDK for your platform, you should be good. Other constraints include memory, but for that you're going to need to test with your configuration to know for sure.
Zig have you had any luck on this? I'm doing something similar on a Sheevaplug running Debian with OpenJDK, and it appears to work (sort of) but is ridiculously slow (5+ minutes to load a page). Just wondering if you've gotten anywhere with this. (btw. I'm running mango 12.0).