OpenJDK was ported to musl libc[1], so I guess Cosmopolitan should be possible, musl is a lot smaller than glibc. I'd also like to see how well RISC-V is supported by Cosmpolitan.
> I'd also like to see how well RISC-V is supported by Cosmpolitan.
Not at all. The whole idea is based on limiting your outlook to x86_64. So, Cosmopolitan is definitely cool, but a bit less cool than some people think.