Quote from https://www.freebsd.org/java/ : cd /usr/ports/java/linux-sun-jdk17 I think should change to "cd /usr/ports/java/linux-oracle-jdk18/"
A commit references this bug: Author: bcr Date: Tue Feb 28 15:15:17 UTC 2017 New revision: 50017 URL: https://svnweb.freebsd.org/changeset/doc/50017 Log: Change the name from sun-jdk17 to oracle-jdk18, which is the one we currently have in ports. PR: 217420 Submitted by: udvzsolt@gmail.com Changes: head/en_US.ISO8859-1/htdocs/java/index.xml
Good catch, thanks for letting us know. We need to wait until the next website rebuild before the change is visible. I'll close the PR now anyway.