It's explained on page 18 and 19 of the Installation Guide for version 8.5. I found upgrading to Open JDK really simple.
As pointed out before by Support, you need to rename or delete the old tools.jar files. I provided a PowerShell script to do that automatically in this post (but I guess that only works in Windows).