Re: [jnc-users] Trouble compiling apache commons logging
Status: Beta
Brought to you by:
soapy
From: Philippe A. <phi...@gm...> - 2008-03-05 01:39:33
|
Hi Marco, 2008/3/4, Marco Trudel <ma...@mt...>: > > Hey Philippe <snip> Add "-findirect-dispatch" as custom GCJ flag. Dependencies will then be > searched at runtime. > > > I'm intrigued.. When you say "dependencies will then be searched at runtime", where would they be searched from? And in what format would such dependencies be expected to be? I find that with the -findirect-dispatch flag whether I include any of the referenced jars or not the executable is produced. However, when running the program, I hit a ClassNotFoundException in both cases. I'm not clear whether referenced classes are still being included in the executable; apparently not. If so, are we supposed to put the dependencies somewhere? In what format, and do we need to tell the executable where is that location? J-Philippe. |