Article View: borland.public.jbuilder.java.language
Article #19087Re: combining Java and C++
From: Dean Henkel
Date: Fri, 13 Mar 1998 00:00
Date: Fri, 13 Mar 1998 00:00
15 lines
930 bytes
930 bytes
Arty Tsaturov wrote: > We would like to reuse our C++ classes. > Can Java be combined with C++ in the same executable? Put your C++ classes in a DLL file. You will need to create a JNI interface layer that your java classes call which will then call the C++ classes stored in the DLL file. Look up JavaNativeInterface in any Java book and you should find some examples there. Dean
Technical Details
Message-ID:
<35098D20.FCCC57EC@us.ibm.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35097E05.154E@cscmail.csc.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,c0a7fd20714b3535 X-Google-Attributes: gidf74b3,public From: Dean Henkel <henkel@us.ibm.com> Subject: Re: combining Java and C++ Date: 1998/03/13 Message-ID: <35098D20.FCCC57EC@us.ibm.com> X-Deja-AN: 333774289 Content-Transfer-Encoding: 7bit References: <35097E05.154E@cscmail.csc.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language