7/24/2025 9:30 AM | |
Joined: 7/24/2025 Last visit: 7/24/2025 Posts: 1 Rating:
|
I can confirm by using the PREFERRED_PROVIDER setting you identified (thanks for that) meta-java scarthgap branch's openjdk-8-native is built , installed and operational. I have troubles confirming it is java 1.8. After successfully compiling openjdk-8-native /w your settings I tried to use it to build an application (Actually I used ANT w/ a dedicated plugin to build a Javacard applet), and I added to the do_compile yocto task the request to print the tools version: … other lines adjusting the classpath especially to include tools.jar, and for invoking ANT The ant execution result in error
This is the output in the error log that unfortunately seems to describe a java 1.6 installation inconsistently named openjdk-8. The error reported by javac (UnsupportedClassVersionError 52.0) is also consistent with providing an plugin compiled for java 1.8 to an earlier java version .
Is this different in your build? Did I wrongly interpret the error or am I doing something else wrong? |
Follow us on