Cross build JavaFX for iMX6

Kevin Rushforth kevin.rushforth at oracle.com
Mon Jul 6 13:57:29 UTC 2015


We do most of our (limited) testing on iMX6 using armv6hf binaries, but 
armv7hf should work, too.

-- Kevin


Daniel. wrote:
> Hi Jörg,
>
> So did you compile for armv7hf? Where can I get the toolchain for armv7hf??
>
> Best regards
>
> - dhs
>
> 2015-07-05 21:48 GMT-03:00 Daniel. <danielhilst at gmail.com>:
>
>   
>> Hi Jörg, I'm in home right now, tomorrow I'll try it. Thanks for the tip!
>> - dhs
>> Em 05/07/2015 18:47, "Jörg Wille" <joerg.wille at gmail.com> escreveu:
>>
>>     
>>> Hi Daniel,
>>> did you try running javafx with monocle? Also sudo is required.
>>> I am also using yocto and using following bash-script to run ui-apps on
>>> i.MX6:
>>> #!/bin/sh
>>> sudo java \
>>> -Xms128m \
>>> -Xmx128m \
>>> -Dprism.verbose=true \
>>> -Dglass.platform=Monocle \
>>> -Dembedded=monocle \
>>> -Dmonocle.input.touchRadius=1 \
>>> -Dmonocle.platform.traceConfig=true \
>>> -Djava.ext.dirs=build/armv7hf-sdk/rt/lib/ext \
>>> -jar $@
>>>
>>> The last line depend whether you have build overlay
>>> <
>>> https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-Overlay-JDK8
>>>       
>>> (gradle -PCOMPILE_TARGETS=armv7hf zips) or just copied the build path (as
>>> I
>>> do here).
>>>
>>> Are you also using a touch-screen? I stumbled across errors
>>> in monocle/LinuxStatefulMultiTouchProcessor.java. But other than that,
>>> javafx/monocle works on I.MX6.
>>>
>>> Regards,
>>> Jörg
>>>
>>>       
>
>
>   


More information about the openjfx-dev mailing list