I'm currently working on this "Java on ARM (Android running Linux) for multiple distributions; Ubuntu included.
You can find all the notes and links that I've complied about this subject in the attached link to the XDA thread that I maintain. Furthermore, I am writing a Bash script (and others for other projects) for All ARM processors capable of running Linux; to install Java and "select" Java dependant programs; with minimal user input.
My user name for XDA is S0AndS0
You will find links to the scripts that I mentioned on "page 11" of the linked XDA guide
Feel free to contact me to either help with the effort or post questions about my methods. I will be writing and maintaining a "family" of scripts and quick mods for those that are running Linux on mobile devices which I'll eventually release on the Android Market Place as a "Companion to Linux" app, for making all our lives easier. If you have a list of Java dependant programs that you want "scripted" into the installer I'm writing; then contact me through Google or XDA too.
As always; happy hacking and modding.
Oh and the link I kept mentioning
[Guide] Debian Kit & Limbo PC Emulator (QEMU x86) for Dual-booting Linux on Android
Update 07242013- install script for Java from source for the ARM processor is now done tested and working :-D
Note: you'll still need to download the JDK from the following link to you device's sdcard/download folder