Build fails because ant compiles without -1.5
Lillian Angel
langel at redhat.com
Sun Sep 30 20:28:35 PDT 2007
Lillian Angel wrote:
> Matthew Flaschen wrote:
>> Lillian Angel wrote:
>>
>>> What version of ant are you using and what is your system javac
>>> pointing
>>> to?
>>>
>>
>> ant -version
>> Apache Ant version 1.6.5 compiled on March 19 2007
>>
>> javac -version
>> Eclipse Java Compiler v_686_R32x, 3.2.2 release
>>
>> But system javac shouldn't matter at all, right? Isn't the whole point
>> to build only on the previous IcedTea now?
>>
>
>
> Well, yes but as far as I know ant is using your system javac.
> The only way you can be sure if this is an IcedTea issue or not is to
> try building OpenJDK with the same ant/javac.
>
> My system javac is set to IcedTea; I have not tried otherwise.
I did verify this. Setting my system javac to ecj/gcj causes the same
failure. You need to set your system javac to IcedTea.
On Fedora you can use this command "sudo alternatives --config javac"if
you have the rpm installed. Otherwise, you will firs need to add the old
IcedTea as an alternative using the --install option.
Lillian
More information about the distro-pkg-dev
mailing list