[icedtea] javac is not javap / -1.5 option

Lillian Angel langel at redhat.com
Mon Jul 2 15:09:09 PDT 2007


Casey Marshall wrote:
> On 7/2/07, Lillian Angel <langel at redhat.com> wrote:
>> Casey Marshall wrote:
>> > Hi.
>> >
>> > I can't seem to register with icedtea's bugzilla, so I'm sending this
>> > message here, so people involved my see it.
>> >
>> > I've been trying to get icedtea compiled on Ubuntu Edgy, and noticed
>> > so far that the Makefile copies 'javac' to
>> > 'bootstrap/jdk1.6.0/bin/javap', not the 'javap' script that's 
>> included.
>> This was fixed almost immediately after the typo was committed :)
>>
>
> Heh, lucky me ;-)
>
>> > Also, it uses the option -1.5 when compiling the CompileProperties
>> > program, which won't work for javac. I *think* "-source 1.5 -target
>> > 1.5" will work here instead, right?
>>
>> What problem are you running into? Are you having problems building
>> IcedTea? In some cases, all 3 options are used.
>>
>
> If I use Sun's javac, the option "-1.5" doesn't work; this means the
> class CompileProperties fails to build, and properties files can't be
> converted to classes.

Ah, I never ran into this problem because I am using gcj. I have 
committed a fix for this.

>
> I switched to using a JDK7 binary snapshot to build (instead of JDK5).
> I'm not sure if that version accepts the "-1.5" flag or not. 

I doubt it.

Lillian



More information about the distro-pkg-dev mailing list