Dear All,
I have added recipe for openjdk with command:
git clone --no-checkout http://git.yoctoproject.org/git/meta-java
cd meta-java; git checkout -b Apalis-iMX6_LXDE-Image_2.8b3.111-20180626 $META_JAVA; cd ..
but I’m facing an error:
bitbake java
ERROR: Unable to start bitbake server
ERROR: Last 10 lines of server log for this session (/home/kamil/apalis/imx6/oe-core/build/bitbake-cookerdaemon.log):
File "/home/kamil/apalis/imx6/oe-core/layers/openembedded-core/bitbake/lib/bb/server/process.py", line 433, in _startServer
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
File "/home/kamil/apalis/imx6/oe-core/layers/openembedded-core/bitbake/lib/bb/cooker.py", line 197, in __init__
self.initConfigurationData()
File "/home/kamil/apalis/imx6/oe-core/layers/openembedded-core/bitbake/lib/bb/cooker.py", line 356, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/kamil/apalis/imx6/oe-core/layers/openembedded-core/bitbake/lib/bb/cookerdata.py", line 316, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
ERROR: Layer meta-java is not compatible with the core layer which only supports these series: rocko (layer is compatible with sumo)
To add Java to the image, please follow these instructions. Once you have done this, then you can start the compilation of the openjdk related packages with the following command: bitbake openjdk-X-jre, where X is the version you want to compile.