Skip to contentSkip to conversation

Java on Yocto 1.5 on i.MX6

DISCUSSION Darcy Watkins 2 participants 2 messages Nov 25, 2013

lore
Share & tools
lore
#0 lore raw

Anyone build and running openjdk-7 in the yocto 1.5 environment on i.MX6?

I tried adding meta-java layer and ran 'bitbake openjdk-7' and it blows up in do_configure classpath-native. The log file is attached to my post at Freescale community.

https://community.freescale.com/message/364691#364691

I want to run this on my Wandboard-Quad.

Thanks in advance.

Signature · 7 lines
Regards,

Darcy

Equipping worship teams and worshipers
http://xstreamworship.com
[M1]
#1 lore raw
Quoted 6 lines · Darcy Watkins

Anyone build and running openjdk-7 in the yocto 1.5 environment on i.MX6?

I tried adding meta-java layer and ran 'bitbake openjdk-7' and it blows up in do_configure classpath-native. The log file is attached to my post at Freescale community.

Quoted 6 lines

https://community.freescale.com/message/364691#364691

I want to run this on my Wandboard-Quad.

Thanks in advance.

I also had trouble with classpath-native after upgrading my build machine to Fedora 19. The jamvm crashes with segfaults during the configure step in classpath-native.

My (internal) fix for this was to copy the cacao-initial recipe (with dependent files) from
https://github.com/openembedded/openembedded/blob/master/recipes/cacao/cacao-initial_0.98.bb
into my layer and add PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial" to the local.conf.

For getting this to work I also had to add "vm.mmap_min_addr=0" to /etc/sysctl.conf

Cheers,
Tobias