public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* compile multiple java files
@ 2013-06-25  9:35 Bucher Fabio
  0 siblings, 0 replies; 3+ messages in thread
From: Bucher Fabio @ 2013-06-25  9:35 UTC (permalink / raw)
  To: java

and again thank you. now it works

best regards
Fabio Bucher

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compile multiple java files
  2013-06-25  9:14 Bucher Fabio
@ 2013-06-25  9:20 ` Bryce McKinlay
  0 siblings, 0 replies; 3+ messages in thread
From: Bryce McKinlay @ 2013-06-25  9:20 UTC (permalink / raw)
  To: java, Bucher Fabio

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* compile multiple java files
@ 2013-06-25  9:14 Bucher Fabio
  2013-06-25  9:20 ` Bryce McKinlay
  0 siblings, 1 reply; 3+ messages in thread
From: Bucher Fabio @ 2013-06-25  9:14 UTC (permalink / raw)
  To: java

Hi
I have another problem. I have a small project with 4 classes. I will compile this with:
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?
Thank you
Fabio Bucher

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-25  9:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25  9:35 compile multiple java files Bucher Fabio
  -- strict thread matches above, loose matches on Subject: below --
2013-06-25  9:14 Bucher Fabio
2013-06-25  9:20 ` Bryce McKinlay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).