This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compile multiple java files
- From: Bryce McKinlay <bmckinlay at gmail dot com>
- To: "java at gcc dot gnu dot org" <java at gcc dot gnu dot org>, Bucher Fabio <fabio dot bucher at ntb dot ch>
- Date: Tue, 25 Jun 2013 10:20:07 +0100
- Subject: Re: compile multiple java files
- References: <17B34E365AFABC468216733E4B4CC75492AD8193 at mail-server dot ntb dot ch>
On Tue, Jun 25, 2013 at 10:14 AM, Bucher Fabio <fabio.bucher@ntb.ch> wrote:
> gcj --main=MultiThreadTest -I/home/fabio/eclipse-workspace/workspace-gcj/GCJ_Threading_Test/src/ch/ntb/inf/fabio/gcj/ MultiThreadTest.java ThreadPool.java Calcula.java Logger.java -o tada
>
> It gives me this error:
> /tmp/ccUNvvnJ.o: In function `main':
> ccbV7AOD.i:(.text+0x24): undefined reference to `MultiThreadTest::class$'
>
> What does this error means?
It means you specified "MultiThreadTest" as your main class, but there
is no class called that. Perhaps you forgot the package name?
Bryce