Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #15414

Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From clusardi2k@aol.com
Newsgroups comp.lang.java.programmer
Subject Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java
Date Tue, 19 Jun 2012 06:11:39 -0700 (PDT)
Organization http://groups.google.com
Lines 22
Message-ID <133be737-12e9-4e28-bcfd-f0f8c2b9d63d@googlegroups.com> (permalink)
References <34c3ac13-bfbe-44e1-befb-09a438cc4f8b@googlegroups.com>
NNTP-Posting-Host 198.151.13.60
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1340111499 15047 127.0.0.1 (19 Jun 2012 13:11:39 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Tue, 19 Jun 2012 13:11:39 +0000 (UTC)
In-Reply-To <34c3ac13-bfbe-44e1-befb-09a438cc4f8b@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=198.151.13.60; posting-account=r24XpwkAAABfAJg5TJRsTScS4AL5MjOT
User-Agent G2/1.0
Xref csiph.com comp.lang.java.programmer:15414

Show key headers only | View raw


On Friday, June 15, 2012 2:57:42 PM UTC-4, (unknown) wrote:
> Could anyone give me a tutorial on how to use NetBeans 7.1.2 to create a java project that uses JNI. I'm looking for something with all the detail I can get.
> 
> My small java project will use a small subset of the class' in a large C++ package.
> 
> Is there good documentation on doing this. Is there more than one way to do it. Does using a jar file (containing the C++ class') ease the process at all.
> 
> Help,
> Chris L.

Here are the compilers (and make command) that I'm going to use:

Software or Resource Version Tested Description 

gcc 3.4.5 MinGW C compiler 
g++ 3.4.5 MinGW C++ compiler 
gdb 6.8 MinGW GNU debugger 
make 3.79.1 MSYS make utility

Note that MinGW make is not supported 

http://netbeans.org/community/releases/69/cpp-setup-instructions.html#mingw

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-15 11:57 -0700
  Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-18 21:03 -0700
    Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java "John B. Matthews" <nospam@nospam.invalid> - 2012-06-19 06:34 -0400
      Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java Arun GOPI <arun041@gmail.com> - 2012-07-16 03:07 -0700
      Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java Arun GOPI <arun041@gmail.com> - 2012-07-16 03:09 -0700
  Re: Using NetBeans 7.1.2 JNI: Windows 7 C and C++ Compiler Options clusardi2k@aol.com - 2012-06-19 06:01 -0700
  Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-19 06:11 -0700
  Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-19 06:58 -0700
  Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-19 07:18 -0700
  Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-19 07:25 -0700
  Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-19 08:27 -0700
    Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-19 08:35 -0700
      Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-19 08:53 -0700
        Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-19 09:20 -0700
  Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java clusardi2k@aol.com - 2012-06-20 10:56 -0700
  Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java Lew <lewbloch@gmail.com> - 2012-06-20 11:49 -0700
    Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java "John B. Matthews" <nospam@nospam.invalid> - 2012-06-21 22:35 -0400
      Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java Lew <noone@lewscanon.com> - 2012-06-21 21:39 -0700
        Re: Using NetBeans 7.1.2 JNI: Where Is a Good Tutorial on How to Invoke C++ from Java "John B. Matthews" <nospam@nospam.invalid> - 2012-06-23 00:16 -0400

csiph-web