This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: problem embedding resources
- From: Anthony Green <green at redhat dot com>
- To: camilla orlandi <orlandi at land dot it>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 20 Oct 2005 07:05:33 -0700
- Subject: Re: problem embedding resources
- References: <43563E57.20801@land.it>
On Wed, 2005-10-19 at 14:38 +0200, camilla orlandi wrote:
> gcj -s -fjni --main=package/HelloWorld -s -o HelloWorld.exe
> package/HelloWorld.java swtgif.o
>
> doesn't work.
Try --main=package.HelloWorld
The argument to --main is supposed to be a fully qualified class name,
not a path.
AG