Use of JDK 1.1.8 is hard-coded in the Makefile. Short of editing the file, there is no way to override it to use the actual installed JDK.
Responsible Changed From-To: freebsd-ports->znerd I'll handle this.
State Changed From-To: open->closed Committed a fix.