Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: JNI Invocation API example Date: Tue, 01 Oct 2013 21:48:44 -0700 Organization: Canadian Mind Products Lines: 17 Message-ID: <4c9n491togvb6e5fkfngttp4eioaorp3kr@4ax.com> References: Reply-To: Roedy Green NNTP-Posting-Host: K2Qzzs3EAqXk5RLzfhxcSw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: ForteAgent/7.20.32.1218 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:25424 On Wed, 25 Sep 2013 10:23:06 -0700 (PDT), Kenneth Miller wrote, quoted or indirectly quoted someone who said : >I'm trying to write a simple C++ example to call into the JNI so that I can= > call Java from C/++. I know this may sound off topic, but it's very pertin= >ent to Java. I'm not that familiar with the JNI API, and I'm still reading = >through the docs, but I was hoping that someone would be kind enough to giv= >e me a working example sufficient to call System.out.println("hello world")= >.=20 download the source code for Setclock at http://mindprod.com/products.html -- Roedy Green Canadian Mind Products http://mindprod.com Unlike many machines, computers require no water once they are manufactured.