There is no limitation on the Java Runtime Environment (JRE) or Java Development Kit (JDK) you can use for free in commercial software.
You've misunderstood how Java is licensed: First of all, Java is more like a specification than a piece of software. Oracle publishes the Java specification which defines how the language and runtime work, and anyone can implement the specification by writing their own Java Development Kit or Java Runtime Environment. (I'm not sure of any off the freedoms, either gratis or libre to write your own JDK or JRE - The specification license isn't clear on that point.)
Oracle provides two implementations. The Oracle JDK which is closed source, but still free as in gratis. They also provide the open source OpenJDK which is some variation of free as in libre as well as gratis.
You do not have to pay anything to write software in the Java language, or which runs on a Java Runtime Environment - Appendix A of the Java specification details that point. Your customers can also acquire a copy of a JRE at no cost from various sources: I believe the OpenJDK is GLPv2, so you could include a copy of OpenJDK with your software provided you also included the OpenJDK source code. Your application and the Java implementation are separate pieces of software, so my understanding is the GPL from the OpenJDK would not effect your ability to commercially license your application which runs on the java implimentation.
Otherwise, a common solution is to have your installer get your customer to agree to a JRE (Oracle, OpenJDK, dosn't matter...) license when you install your software, and then have your installer automatically download and install download the JRE from the official distributor. This way you aren't "shipping" the software you don't have the license to distribute, but still ensuring the user acquires it when they need it to run your software.