This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile multiple java files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]