GCJ and C++ (calling Java from C++)
Lothar Werzinger
lothar@tradescape.biz
Tue Nov 29 18:46:00 GMT 2005
On Tuesday 29 November 2005 10:16, Andrew Haley wrote:
> That NullPointerException is the clue. It's happening when some class
> is being resolved, and it's probably being casued by some sort of
> linking problem.
>
> (I was guessing that you weren't calling JvCreateJavaVM(), which would
> cause this problem. But you are, so it's not that.)
>
> > [exec] ...4 more
> >
> > So I am a kind of stuck here :-(
>
> Forgive me if I still can't see something obvious, but I really do need to
> know how you built this program.
Well, that's why I attached the example as a tar file in the first place. I
assumed I might have done something wrong building the whole thing (this is
my first use of gcj I only used gcc/g++ before).
I attached the example again with the latest source changes.
the build.xml in org.eclipse.emf.examples.library.edit should tell you enough
about how the program is built.
Lothar
--
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc.
111 West St. John Street, Suite 200
San Jose, Ca 95113
email: lothar@tradescape.biz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libraryexample.tar.gz
Type: application/x-tgz
Size: 74284 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20051129/08a33347/attachment.bin>
More information about the Java
mailing list