It's pretty well known that Ellison originally only wanted the software side of Sun Micro and have the hardware fall to the wayside. McNealy properly insisted on an all-or-none deal. The presumption has always been that Larry wanted to monetize Java, but the availability of Too Many Other Options sank that, especially after Google took the almost-compatible Apache Harmony project and built Android on it. The Oracle v. Google legal battle is Ellison's attempt to get money for it anyway, despite it flying in the face of decades of reverse-engineering practice.
This latest spin on Java licensing is to get enterprises to cough up for support to avoid turning over Java versions twice yearly; Red Hat is undercutting that by offering LTS on OpenJDK running on RHEL or their JBoss middleware, and starting to offer support gigs for same on Wintel. Amazon is doing likewise on AWS with their 'Coretto' offering. Oracle appears to be successfully shooting themselves in the foot, and their Java offering may become irrelevant before long.