This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ and C++ (calling Java from C++)


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

Attachment: libraryexample.tar.gz
Description: application/tgz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]