Open Eggbert target Desktop, Android and Web.
Available Java SE classes and libraries are limited on Android and Web.
Web (browser): GWT is used. There are also some alternatives like TeaVM.
External links
https://libgdx.com/dev/contributing/#considerations-for-gwt-compatibility