[oe] Building java
Jens Rehsack
rehsack at gmail.com
Fri Jan 8 09:48:44 UTC 2016
> Am 08.01.2016 um 08:39 schrieb Mike Looijmans <mike.looijmans at topic.nl>:
>
> Someone in our project decided he wanted Java on the board, so I just added "meta-java" to the layers and attempted to follow the README.
>
> So without a clue as to what I'm really doing (I haven't touched Java in 15 years) I added these to my local.conf:
>
> # Headless java
> PREFERRED_PROVIDER_classpath = "classpath-minimal"
> # Possible provider: cacao-initial-native and jamvm-initial-native
> PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native"
> # Possible provider: cacao-native and jamvm-native
> PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
>
> And of course added meta-java to bblayers.conf.
>
> I added "openjdk-8" to the image's things to install, and let things build.
>
> While building "openjdk-8-native", things went south, and I get the following error message:
>
> ERROR: no configure script found at /home/mike/projects/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/configure
>
>
> What did I do wrong?
meta-java is master, so you need poky on master, too - or cherry-pick the autotools.bbclass patch
> (Note: the board does not have a display, so I don't need/want x11. I tried building openjdk-7 instead, but that fails to parse because it requires x11 in the distro)
You could port the remove-x11-patches to openjdk-7, since we currently need Java8, I have no "business case" to fix openjdk-7 :/
Cheers
--
Jens Rehsack - rehsack at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160108/969f06bf/attachment-0002.sig>
More information about the Openembedded-devel
mailing list