# Adding meta-oracle-java to core-image-base

**URL:** <https://forums.digi.com/t/adding-meta-oracle-java-to-core-image-base/18542>\
**Category:** Linux\
**Tags:** java, connectcore, 6ul\
**Created:** [July 18, 2017, 9:30am UTC](https://forums.digi.com/t/adding-meta-oracle-java-to-core-image-base/18542 "2017-07-18T09:30:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tnogueir](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@tnogueir](https://forums.digi.com/u/tnogueir)\
**Post date:** [July 18, 2017, 9:30am UTC](https://forums.digi.com/t/adding-meta-oracle-java-to-core-image-base/18542/1 "2017-07-18T09:30:00Z")

</div>

Hi,

I’m trying to add oracle-jse-jre to the core-image-base. I’ve cloned the meta-oracle-java layer and updated the local.conf and the bblayers.conf files as follows:

local.conf  
IMAGE\_INSTALL\_append += " oracle-jse-jre"  
LICENSE\_FLAGS\_WHITELIST += “oracle\_java”

bblayers.conf  
/meta-oracle-java

However, when i run the core-image-base recipe i get the following error:

ERROR: Nothing PROVIDES ‘virtual/java-native’ (but /meta-oracle-java/recipes-devtools/oracle-java/oracle-jse-jre\_1.8.0.bb DEPENDS on or otherwise requires it). Close matches:  
virtual/make-native  
virtual/db-native  
virtual/java

It is not clear to me where to find this ‘virtual/java-native’.

Any ideas?

Thanks

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [July 20, 2017, 11:43am UTC](https://forums.digi.com/t/adding-meta-oracle-java-to-core-image-base/18542/2 "2017-07-20T11:43:38Z")

</div>

please take a look at the last post here:  
[https://community.nxp.com/thread/316078#364691](https://community.nxp.com/thread/316078#364691)
