diff --git a/java/openjdk15/Makefile b/java/openjdk15/Makefile
index 8e59f2141747..076b4adf6057 100644
--- a/java/openjdk15/Makefile
+++ b/java/openjdk15/Makefile
@@ -120,8 +120,8 @@ BOOTSTRAPJDKDIR=	${BJDK}
 
 # if no valid jdk found, set dependency
 .if !defined(BOOTSTRAPJDKDIR)
-BOOTSTRAPJDKDIR?=	${LOCALBASE}/openjdk13
-BUILD_DEPENDS+=		${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk13
+BOOTSTRAPJDKDIR?=	${LOCALBASE}/openjdk14
+BUILD_DEPENDS+=		${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk14
 .endif
 
 JDK_BUILD_JVM=	server