Enabling linux java support in firefox 117

You are apparently talking about Java Applets in webbrowsers? That’s a technology that was killed many years ago!
I don’t know if it is possible to get it working with Java 8 and an OLD webbrowser. But I would be very surprised if it’s possible to get working in any modern browser.
Any specific reason you want Java support in the browser?