Is there a Java IDE for iPad which can compile and run Java locally? I'm about to have a coding session with some buddies. Problem is, one doesn't have a laptop. He's pretty new to programming so I was going to set him up something either on a rickety laptop or my iPad with a bluetooth keyboard / mouse.

Is there any app that would give me these capabilities:


Java IDE
compile java locally
run java locally
There are web-based IDEs that support Java like IDE One and CodeBox that should work from an iPad. Obviously there are limitations with both but they might suffice.

This is my immediate thought, because I believe Apple have rules against people creating apps that include their own runtime. Which I'd assume you'd require if you wanted to compile Java code directly on an iOS device.