a error when compile a simple java application !
Bryce McKinlay
mckinlay@redhat.com
Wed Aug 3 15:28:00 GMT 2005
bbskill wrote:
>hello all,
>My system is Debian(2.6.6).
>I have built the gcc/gcj 4.0 following
>http://gcc.gnu.org/java/build-snapshot.html, but when I compile a simple
>HelloWorld.java using gcj, the error below occur:
>bbskill@debian:~/Temp/java/gcj$ gcj --main=HelloWorld -o HelloWorld
>HelloWorld.java
>>jc1: out of memory allocating 1342179075 bytes after a total of 270336 bytes
>>How can I fix it ?
>Thanks with much appreciation !
>>
It looks like your gcc/gcc-java package is broken. Try reinstalling it
or upgrading to a newwer version.
Bryce
More information about the Java
mailing list