Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » JNI Managed Make
JNI Managed Make [message #167360] Tue, 04 April 2006 19:34 Go to next message
Eclipse UserFriend
Originally posted by: filippo.rossoni.libero.it

Exist a way to use managed make to generate a dll that can be loaded in java
and it's possible to debug both c and java code

tanks in advance

Filippo
Re: JNI Managed Make [message #167374 is a reply to message #167360] Tue, 04 April 2006 19:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: filippo.rossoni.libero.it

excuse me i forget to say I'm using windows and minGW
"Filippo" <filippo.rossoni@libero.it> wrote in message
news:e0uvqe$bsi$1@utils.eclipse.org...
> Exist a way to use managed make to generate a dll that can be loaded in
> java
> and it's possible to debug both c and java code
>
> tanks in advance
>
> Filippo
>
Re: JNI Managed Make [message #167395 is a reply to message #167374] Wed, 05 April 2006 04:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ivodesaedeleer.gmail.com

Could you describe a bit more specific what you want to do?

We also do calling from C++ code from Java (early phase, still
investigating some issues).

We use SWIG, for integration with Eclipse and CDT, see
http://www.skwash.com
Skwash provides a plugin for using SWIG under Eclipse. SWIG makes it
possible to wrap also non-CDT-generated DLLs (header files are of course
necessary).

I am not completely sure, but I don't think that it is possible to debug
the C++ code in Eclipse when invoked from Java. Seems quite complicated...

I am interested to know what your experience is.
Re: JNI Managed Make [message #167472 is a reply to message #167395] Wed, 05 April 2006 18:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: filippo.rossoni.libero.it

thank's for the link my first problem was how to configure managed make and
it is explained in tutorial the previus information i found that work with
minGW use a single file and a bat for compile

for debug i found that article
http://www.kineteksystems.com/white-papers/mixedjavaandc.htm l
but it is for linux.



another question I have an c++ application that invoke java code
do you kow a way to attach a java debugger to a VM invoked from a c
application
exist a parameter for launch WM that accept debug connection like web
server?

eclipse debugger can attach to other VM using Socket but i don't know how to
configure

"Ivo" <ivodesaedeleer@gmail.com> wrote in message
news:8115b83bf83d7d66ede596f615b32965$1@www.eclipse.org...
> Could you describe a bit more specific what you want to do?
>
> We also do calling from C++ code from Java (early phase, still
> investigating some issues).
>
> We use SWIG, for integration with Eclipse and CDT, see
> http://www.skwash.com Skwash provides a plugin for using SWIG under
> Eclipse. SWIG makes it possible to wrap also non-CDT-generated DLLs
> (header files are of course necessary).
>
> I am not completely sure, but I don't think that it is possible to debug
> the C++ code in Eclipse when invoked from Java. Seems quite complicated...
>
> I am interested to know what your experience is.
>
Re: JNI Managed Make [message #167478 is a reply to message #167472] Wed, 05 April 2006 18:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: filippo.rossoni.libero.it

solved see
http://www-128.ibm.com/developerworks/java/library/j-jnidebu g/index.html?dwzone=java


"Filippo" <filippo.rossoni@libero.it> wrote in message
news:e11hc1$1i6$1@utils.eclipse.org...
> thank's for the link my first problem was how to configure managed make
> and it is explained in tutorial the previus information i found that work
> with minGW use a single file and a bat for compile
>
> for debug i found that article
> http://www.kineteksystems.com/white-papers/mixedjavaandc.htm l
> but it is for linux.
>
>
>
> another question I have an c++ application that invoke java code
> do you kow a way to attach a java debugger to a VM invoked from a c
> application
> exist a parameter for launch WM that accept debug connection like web
> server?
>
> eclipse debugger can attach to other VM using Socket but i don't know how
> to configure
>
> "Ivo" <ivodesaedeleer@gmail.com> wrote in message
> news:8115b83bf83d7d66ede596f615b32965$1@www.eclipse.org...
>> Could you describe a bit more specific what you want to do?
>>
>> We also do calling from C++ code from Java (early phase, still
>> investigating some issues).
>>
>> We use SWIG, for integration with Eclipse and CDT, see
>> http://www.skwash.com Skwash provides a plugin for using SWIG under
>> Eclipse. SWIG makes it possible to wrap also non-CDT-generated DLLs
>> (header files are of course necessary).
>>
>> I am not completely sure, but I don't think that it is possible to debug
>> the C++ code in Eclipse when invoked from Java. Seems quite
>> complicated...
>>
>> I am interested to know what your experience is.
>>
>
>
Re: JNI Managed Make [message #167495 is a reply to message #167472] Thu, 06 April 2006 04:25 Go to previous message
Eclipse UserFriend
Originally posted by: ivodesaedeleer.gmail.com

http://www-128.ibm.com/developerworks/opensource/library/os- ecbug/
gives an overview.

Configuration of "eclipse debugger can attach to other VM using Socket but
i don't know how to configure"
is case by case.


Filippo wrote:

> thank's for the link my first problem was how to configure managed make and
> it is explained in tutorial the previus information i found that work with
> minGW use a single file and a bat for compile

> for debug i found that article
> http://www.kineteksystems.com/white-papers/mixedjavaandc.htm l
> but it is for linux.



> another question I have an c++ application that invoke java code
> do you kow a way to attach a java debugger to a VM invoked from a c
> application
> exist a parameter for launch WM that accept debug connection like web
> server?

> eclipse debugger can attach to other VM using Socket but i don't know how to
> configure

> "Ivo" <ivodesaedeleer@gmail.com> wrote in message
> news:8115b83bf83d7d66ede596f615b32965$1@www.eclipse.org...
>> Could you describe a bit more specific what you want to do?
>>
>> We also do calling from C++ code from Java (early phase, still
>> investigating some issues).
>>
>> We use SWIG, for integration with Eclipse and CDT, see
>> http://www.skwash.com Skwash provides a plugin for using SWIG under
>> Eclipse. SWIG makes it possible to wrap also non-CDT-generated DLLs
>> (header files are of course necessary).
>>
>> I am not completely sure, but I don't think that it is possible to debug
>> the C++ code in Eclipse when invoked from Java. Seems quite complicated...
>>
>> I am interested to know what your experience is.
>>
Previous Topic:C Source Folder
Next Topic:Custom Toolchain
Goto Forum:
  


Current Time: Sun May 11 20:01:48 EDT 2025

Powered by FUDForum. Page generated in 0.04458 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top