All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java] Use openjdk-8 as javac and java VM
@ 2016-03-29 10:48 Blaettler, Michael
  2016-03-29 19:37 ` Jens Rehsack
  0 siblings, 1 reply; 2+ messages in thread
From: Blaettler, Michael @ 2016-03-29 10:48 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

Hi all

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?
Can anybody assist me?


Thanks in advance

Michael


[-- Attachment #2: Type: text/html, Size: 1389 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [meta-java] Use openjdk-8 as javac and java VM
  2016-03-29 10:48 [meta-java] Use openjdk-8 as javac and java VM Blaettler, Michael
@ 2016-03-29 19:37 ` Jens Rehsack
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Rehsack @ 2016-03-29 19:37 UTC (permalink / raw)
  To: Blaettler, Michael; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]


> Am 29.03.2016 um 12:48 schrieb Blaettler, Michael <michael.blaettler@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 - rehsack@gmail.com


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 859 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-29 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-29 10:48 [meta-java] Use openjdk-8 as javac and java VM Blaettler, Michael
2016-03-29 19:37 ` Jens Rehsack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.