You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Weldon Washburn <we...@gmail.com> on 2007/02/09 02:44:28 UTC
[classlib][build] does anyone see javac internal error when building the classlibs?
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
[javac] ----------
BUILD FAILED
/home/harmony/trunk/working_classlib/build.xml:113: The following error
occurred while executing this line:
/home/harmony/trunk/working_classlib/make/build-java.xml:126:
java.lang.reflect.InvocationTargetException
Total time: 20 seconds
--
Weldon Washburn
Intel Enterprise Solutions Software Division
Re: [classlib][build] does anyone see javac internal error when building the classlibs?
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
I just built successfully on linux x86 and x86_64 clean builds w/ no
problem
doing windows in a sec...
On Feb 8, 2007, at 8:44 PM, Weldon Washburn wrote:
> 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
>
> [javac] ----------
>
> BUILD FAILED
> /home/harmony/trunk/working_classlib/build.xml:113: The following
> error
> occurred while executing this line:
> /home/harmony/trunk/working_classlib/make/build-java.xml:126:
> java.lang.reflect.InvocationTargetException
>
> Total time: 20 seconds
>
>
> --
> Weldon Washburn
> Intel Enterprise Solutions Software Division
Re: [classlib][build] does anyone see javac internal error when building the classlibs?
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
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 <we...@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
>>
Re: [classlib][build] does anyone see javac internal error when building
the classlibs?
Posted by Tim Ellison <t....@gmail.com>.
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 <we...@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
>
Re: [classlib][build] does anyone see javac internal error when building the classlibs?
Posted by Alexey Petrenko <al...@gmail.com>.
2007/2/9, Weldon Washburn <we...@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