Skip to contentSkip to conversation

openjdk-11 failed to find --with-boot-jdk

DISCUSSION Bel Hadj Salem Talel 1 participant 1 message Apr 18, 2022

lore
Share & tools
lore
#0 lore raw

Hello Everyone,

I am using meta-java, and I have openjdk-11 recipe.

The recipe has:

EXTRA_OECONF_append_class-native = "\
--with-boot-jdk=/usr/lib/jvm/openjdk-11-amd64 \
--enable-headless-only \
--enable-openjdk-only \
"

It fails with this error:

Quoted 3 lines

configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK

I tried to install openjdk-11 on my native build host, but the same error persists.

How can I fix this ?

Thanks,
Talel