How to suport openjdk on openwrt

I try to cross_compile,but faild, how to suport openjdk on openwrt.

If your router\CBS is powerful and have a lot of disk space then you can install a Docker and run the Java from container. Use eclipse-temurin image.
Also you can install the compiled OpenJDK from Alpine Linux repo (only ARM platform and old versions).
See also