The problem about compile JDK9 for Android Platform with x86

David Holmes david.holmes at oracle.com
Fri May 5 23:04:48 UTC 2017


Hi,

Moving this to mobile-dev and bcc'ing jdk9-dev.

David

On 5/05/2017 6:34 PM, zhiwei lin wrote:
> Hi all,
> I encounter a problem when compile JDK9 for Android Platform  with x86
> arch.I operated from the tutotrial
> http://openjdk.java.net/projects/mobile/android.html, but when I
> execute congifure cmd , I got the error below:
> configure: Found freetype include files at
> /home/linzhiwei/work/freetype-2.6.2/build_android-i686/include/freetype2
> using --with-freetype
> checking for freetype includes...
> /home/linzhiwei/work/freetype-2.6.2/build_android-i686/include/freetype2
> checking for freetype libraries...
> /home/linzhiwei/work/freetype-2.6.2/build_android-i686/lib
> checking if we can compile and link with freetype... no
> configure: Could not compile and link with freetype. This might be a
> 32/64-bit mismatch.
> configure: Using
> FREETYPE_CFLAGS=-I/home/linzhiwei/work/freetype-2.6.2/build_android-i686/include/freetype2
> and FREETYPE_LIBS=-L/home/linzhiwei/work/freetype-2.6.2/build_android-i686/lib
> -lfreetype
> configure: error: Can not continue without freetype. You might be able
> to fix this by running 'sudo apt-get install libfreetype6-dev'.
>
>
> The detail log is in the config.log file.
> Build mechime : Linux ubuntu 4.4.0-75-generic #96-Ubuntu SMP Thu Apr
> 20 09:56:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> NDK:android-ndk-r10c
>
> Please give some me advise to solve the problem
> Thx
>


More information about the jdk9-dev mailing list