This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: a error when compile a simple java application !
- From: Fernando Lozano <fernando at lozano dot eti dot br>
- To: bbskill <bbkills at tom dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 03 Aug 2005 12:46:15 -0300
- Subject: Re: a error when compile a simple java application !
- References: <42F14ECD.6020200@tom.com>
Hi,
I got this error when I had Sun JDK tools.jar on my classpath. So try
"export CLASSPATH=." before compiling, this should work.
[]s, Fernando Lozano
>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 !
>
>
>