Is it not the case however that you can use Oracle OpenJDK instead (which the whole thing has been based on since Java 7 or 8 anyway) without licencing requirements, and that you only need to use the Oracle JDK and licence it if you are using it with other Oracle products or services?
So for example if your ERP was written in Java but used PostGres or something as the database, you could just switch over to OpenJDK ?