harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [classlib][build] does anyone see javac internal error when building the classlibs?
Date Fri, 09 Feb 2007 12:19:16 GMT
I did note this on the quickhelp contributors page, but yah, good for  
the FAQ.

geir

On Feb 9, 2007, at 6:32 AM, Tim Ellison wrote:

> We need to start a technical FAQ (and tidy up the existing one btw).
>
> This one seems to come up quite often.
>
> Regards,
> Tim
>
> Alexey Petrenko wrote:
>> 2007/2/9, Weldon Washburn <weldonwjw@gmail.com>:
>>> I see the below error on the current svn head.  The relevant  
>>> environment
>>> variables look like:
>>>
>>> [working_classlib]# set | grep PATH
>>> PATH=/usr/java/jdk1.5.0_08/bin:/usr/kerberos/sbin:/usr/kerberos/ 
>>> bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/ 
>>> usr/X11R6/bin:/root/bin:/usr/apache-
>>>
>>> ant-1.6.5/
>>> [working_classlib]# set | grep JAVA
>>> JAVA_HOME=/usr/java/jdk1.5.0_08
>>> [working_classlib]#
>>>
>>>
>>> -compile:
>>>    [mkdir] Created dir:
>>> /home/harmony/trunk/working_classlib/build/classes
>>>    [javac] Compiling 3567 source files to
>>> /home/harmony/trunk/working_classlib/build/classes
>>>    [javac] ----------
>>>    [javac] 1. ERROR in
>>> /home/harmony/trunk/working_classlib/modules/awt/src/main/java/ 
>>> unix/org/apache/harmony/awt/nativebridge/linux/X11Defs.java
>>>
>>>    [javac]  (at line 0)
>>>    [javac]     /*
>>>    [javac]     ^
>>>    [javac] Internal compiler error
>>>    [javac] java.lang.OutOfMemoryError: Java heap space
>> Probably you should use ANT_OPTS=-Xmx...
>>
>> SY, Alexey
>>


Mime
View raw message