This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Newbie - cannot find file for class - how to debug?
- From: "Scott Goldstein" <Scott dot Goldstein at bluejungle dot com>
- To: <java at gcc dot gnu dot org>
- Date: Thu, 31 Aug 2006 17:39:55 -0700
- Subject: Newbie - cannot find file for class - how to debug?
I'm trying to compile my .class files into native byte code and I'm running into the following messages:
...: error: cannot find file for class...
I've tried adding the jar containing the missing classes into the classpath argument, "--classpath".? I've also tried adding it to the list of "source" files at the end of the gcj command, with each source file separated by a space.? Still, these classes cannot be found.
I know the -classpath variable I've set is taking affect, because there's another jar that I've added to the classpath parameter which, when removed, causes a different class to not be found.
Is there a good way to debug this?? Can I print to the console where gcj is looking for the class?
Thanks.
Scott