There are Java real time runtimes being sold for about 20 year now.
PTC and Aicas are the surviving companies on this domain.
Aonix, which was acquired by PTC, famously sold Java real time systems for military systems like missile tracking radars and battleship weapon targeting control systems, a domain where you need split second decisions taking place.