openjdk9-android:X11 header error

JIGAR MISTRY jigarmistry at outlook.com
Thu Apr 19 09:00:20 UTC 2018


Hello,
I am using following version of jdk.
hg checkout jdk-9+181

Command I used to configure is:
bash configure --enable-option-checking=fatal --host=i686-unknown-linux-gnu --build=x86_64-pc-linux-gnu --disable-warnings-as-errors --enable-headless-only --with-jdk-variant=normal --with-jvm-variants=client --with-cups-include=$CUPS_DIR --with-devkit=$ANDROID_DEVKIT --with-debug-level=release --with-freetype-lib=$FREETYPE_DIR/lib --with-freetype-include=$FREETYPE_DIR/include/freetype2

on this, I am getting the following error:
configure: error: Could not find X11 libraries. You might be able to fix this by running 'sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev'.

I also rerun the configure command with --openjdk-target=i686-unknown-linux-gnu switch. But still I am getting the same error.

I assume it shouldn't be dependent of X11.
How to resolve this issue?
Any help would be highly appreciated. Thank you in anticipation.



More information about the mobile-dev mailing list