> Am 29.03.2016 um 12:48 schrieb Blaettler, Michael 
> <michael.blaett...@siemens.com>:
> 
> Hi all

Hi Michael,

> I am currently struggling with selecting the Java virtual machine and Java 
> compiler. I’d like to use the Java VM and Java Compiler provided by 
> openjdk-8-native in the meta-java layer.
> It was possible to build openjdk-8-native without any problems but after 
> sourcing the environment-script the javac command points to the compiler 
> installed by ecj-bootstrap-native and the java command points to the VM 
> installed by cacao-native.
> Afterwards I tried to add openjdk-8 as a provider for “virtual/javac-native” 
> and “virtual/java-native” but then the image isn’t buildable due to recursive 
> inclusions.
> 
> How can I select the java vm and java compiler from openjdk-8 as my default 
> compiler/VM?

That's one of the larger open points in meta-java. I couldn't finish that in my 
time at Rademacher.
If someone wants to sponsor that :-)

> Can anybody assist me?

Meanwhile try to rely on 
https://github.com/rehsack/meta-jens/blob/jethro/recipes-xbmc/xbmc/xbmc_14.bb#L51
 as example.

> Thanks in advance

You're welcome.

Cheers
--
Jens Rehsack - rehs...@gmail.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to