Question [Q] Custom Rom that supports Java?

I'm looking for a rom that supports Java. Web app's that to use you have to download for online games. I know there is probably not going to be a Android rom and that's fine Linux would be great. I have a N7 (2013). < anything that supports that would be great, and a quick guide on how to install Java to the rom?

I was also wondering if Ubuntu Touch would support such a thing?

Would help me so much with me endeavour to entertain myself when I'm away from home.

Thanks!