In the process of installing “SQL Server 2016” for a new client.
As it is a new client and not really sure exact features they will be using, chose to install “All features“.
Installation is blocked with the error pasted below:
Oracle JRE 7 Update 51 (64-bit) or higher is required for Polybase.
Rule Check Result
This computer does not have the Oracle Java SE Runtime Environment Version 7 Update 51 (64-bit) or higher installed. The Oracle Java SE runtime environment is software provided by a third-party software.
To continue, download the Oracle SE Java Runtime Environment from http://go.microsoft.com/fwlink/?LinkId=526030.
Visited Microsoft URL
Java Standard Edition Downloads
Here are the downloads available for java Standard Edition ( Java SE)
- We know we need JRE ( Java Runtime Engine), and not JDK ( Java Development Kit )
- Server JRE
- Thought we could get away with the the lighter footprint Server JRE
Server JRE – Downloads
Chose Windows x64.
Install Package Contents
The installer is bundled as a tar.gz.
Using 7-Zip extracted the file, but no installer.
Just app executable and class files.
Need more than that to install JRE and have SQL recognize that Java JRE is installed.
Java SE Runtime Environment 8 Downloads
Needed an executable offline installer and our bitness is 64 bit and so chose jre-8u131-windows-x64.exe.
Actual Installation is straightforward.
Create destination Folder beforehand.
Here is a sample script.
@echo off rem _folder=C:\Program Files\java\jre1.8.0_131 set "_folder=E:\ProgramFiles\Java\JRE1.8.0_131" if not exist %_folder% mkdir %_folder%
Destination Folder ( Changed )
Java Setup – Progress
Java Setup – Complete
If you will be evaluating \ using Polybase as part of SQL Server v2016, please download and install Oracle JRE ( Java Runtime engine) beforehand.
For JRE, there are two packages available for download. One is marked Server and the generic one.
Please choose the generic, full version.