[fedora-java] Re: Java OpenGL on FC4

Robin Green greenrd at greenrd.org
Wed Aug 17 15:57:30 UTC 2005


On Tue, 16 Aug 2005 20:00:22 -0700, John M. Gabriele wrote:

> --- Anthony Green <green at redhat.com> wrote:
> 
>> On Mon, 2005-08-15 at 19:00 -0700, John M. Gabriele wrote:
>> > [john at localhost ~/dev/java/JOGL_Example]$ ./MyTest
>> > Exception in thread "main" java.lang.LinkageError: unexpected exception
>> during
>> > linking: net.java.games.jogl.GLCapabilities
>> 
>> Rebuild your code with -findirect-dispatch and it will work.
> 
> Ok. Compiled from .java --> .o with that option and now it does
> the same thing as when I run it via gij.
> 
> Which is weird, since the gcj man page has this to say:
> 
> | Note that, at present, "-findirect-dispatch" can only be used
> | when compiling .class files.  It will not work when compiling
> | from source.

Right. What I think Anthony *meant* was, follow the instructions on this
page: http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ

-- 
Robin





More information about the fedora-devel-java-list mailing list