Symptoms
Assume that you install SQL Server 2017 on a computer that has Java SE RunTime Environment (JRE) version 9 installed. If you choose to install the PolyBase feature, the installer may not recognize JRE version 9 if you don't also have JRE version 7 or 8 installed. In this case, the installation of PolyBase may fail.
Resolution
This fix is included in Cumulative Update 4 for SQL Server 2017.
About SQL Server 2017 builds
Each new build for SQL Server 2017 contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for SQL Server 2017.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology Microsoft uses to describe software updates.