-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oracle JDK / JRE #9
Comments
I strongly suspect that binary-only Oracle Java will not work: The Intel Quark requires applications to be built with special compiler options to work around processor errata. That's why we build everything in Yocto and cannot use a standard distribution. If the 32-bit non-rpm Linux version you can download from Oracle does not run as-is, you need to use the OpenSDK/JRE that is part of the example image. |
What about this? http://git.yoctoproject.org/cgit/cgit.cgi/meta-oracle-java/ |
That's just an installer recipe for the binary package. Nothing is built from sources here either. |
How do I use this? |
Oh, it isn't in fact. It's only used during the build. But you can do this by adding IMAGE_INSTALL_append=" openjre-8" in your local.conf, e.g. |
Please reopen if there are further questions. |
FWIW, I just had to validate Oracle Java 8 (update 131) on the latest image, and it apparently works fine. Just like OpenJRE, built from sources via Yocto as I described above. |
does that work with an existing build or does that have to be done from a custom build? If that is not the case where is the local.conf located to add that? |
We didn't try with current official release but went directly to the development version that is generated from master. What we did was both unpacking the i586 tarball from Oracle on the device (trivial case) and also hooking up meta-oracle-java for generating a preinstalled image. In the latter case, you will need the master-next branch of http://layers.openembedded.org/layerindex/branch/master/layer/meta-oracle-java/ due to the top-most fix. |
As the title suggests, I cannot find anywhere how to install oracle java onto the IOT 2040, it would be nice if the image had it already included or to select what version.
Regards,
Frank.
The text was updated successfully, but these errors were encountered: