Re: compile multiple java files
Bryce McKinlay <[email protected]> Tue, 25 Jun 2013 10:20:07 +0100
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <CALUNu-pL0=kyqgESx0sfVcG-=JkwpFSE21zk0Rzafw5=-TY7hw@mail.gmail.com> |
On Tue, Jun 25, 2013 at 10:14 AM, Bucher Fabio <[email protected]> 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