[oe] [meta-java] Trying to update openjdk-7 to icedtea 2.5.4 and jdk75b13
Sven Ebenfeld
sven.ebenfeld at gmail.com
Wed Apr 1 20:02:46 UTC 2015
Hello Otavio,
Am 01.04.2015 um 17:25 schrieb Otavio Salvador:
> Hello Sven,
>
> On Wed, Apr 1, 2015 at 12:19 PM, Sven Ebenfeld <sven.ebenfeld at gmail.com> wrote:
>> I'm currently trying to update openjdk-7 to the current icedtea-release.
>> I'm getting as far as to the compile step which fails during a run of rmic.
>> In difference to earlier builds, it tries to run the just compiled
>> rmic java-classes.
>
> Thanks a lot for doing this, this is indeed an important change to be
> done ... also due security reasons.
>
>> The bootstrap jdk6 complains about incompatible class version.
>> "Exception in thread "main" java.lang.UnsupportedClassVersionError:
>> sun/rmi/rmic/Main : Unsupported major.minor version 51.0"
>>
>> That is correct as the build process compiles these classes with
>> "-source 7" and "-target 7".
>> Currently I don't really know how to fix this problem. Atm I guess I
>> would need to add a jdk6 bootstrap version of rmic. Can anyone give me
>> a hint how to fix this problem?
>
> Yes, you likely needs a rmic-native variant.
Do you think it makes sense to create a new rmic-native recipe or should
it be created within the recipe?
>
> I am very busy now and won't have bandwidth to help on this, am sorry.
>
> One side note though ... you might want, before, clean old versions of
> the recipe and rework it so in the process you gain more intimacy of
> the build process ... and helps to provide a nicer base of work as
> well.
>
You're right, I will see, how I get used to this process.
--
Cheers,
Sven
More information about the Openembedded-devel
mailing list