Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #25396
| X-Received | by 10.224.111.201 with SMTP id t9mr7199437qap.8.1380565229425; Mon, 30 Sep 2013 11:20:29 -0700 (PDT) |
|---|---|
| X-Received | by 10.50.25.40 with SMTP id z8mr252103igf.15.1380565229387; Mon, 30 Sep 2013 11:20:29 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!a6no174068qak.0!news-out.google.com!9ni924qaf.0!nntp.google.com!a6no174060qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Mon, 30 Sep 2013 11:20:28 -0700 (PDT) |
| In-Reply-To | <2886a957-b3a5-4d2a-8836-82cfa6d18a2e@googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.129; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T |
| NNTP-Posting-Host | 69.28.149.129 |
| References | <ef9f31ab-60a2-4cd5-b957-a9281fedd079@googlegroups.com> <lfednXqjANjuQdvPnZ2dnUVZ7qWdnZ2d@bt.com> <2886a957-b3a5-4d2a-8836-82cfa6d18a2e@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <c6fbbf2a-3418-4807-b06b-14bf0ec65f2c@googlegroups.com> (permalink) |
| Subject | Re: JNI Invocation API example |
| From | Lew <lewbloch@gmail.com> |
| Injection-Date | Mon, 30 Sep 2013 18:20:29 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.java.programmer:25396 |
Show key headers only | View raw
Kenneth Miller wrote: > Chris Uppal wrote: >> It looks to me as if you might benefit from learning a little more Java first. >> Try writing a "Hello World" program in Java, then see the difference between >> what the Java program is telling the JVM to do, and what your JNI code is >> (attempting) to tell the JVM to do. In particular println() is not a static >> method, and as such you need an instance of PrintStream. >> > Yeah, I ended up getting it to work later that night. I've known Java pretty well, I just didn't know what all > functions were available from the env pointer. And I wasn't asking to be referred to the documentation. I > was specifically asking for an example. Anyway, now that I have a working version, I'll read the whole > documentation and then move on to possibly Jace. You came here for help. You don't really get to predetermine the form of that help. If you had all the answers you wouldn't need to ask for assistance. Since you already know you need more information, and Chris's answer was, after all, based entirely on what you said, I recommend you open your mind to whatever form the advice takes. Oh, and reading documentation is sometimes seen as a first, or at least early step. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JNI Invocation API example Kenneth Miller <kennethadammiller@gmail.com> - 2013-09-25 10:23 -0700
Re: JNI Invocation API example Mark <i@dontgetlotsofspamanymore.invalid> - 2013-09-27 16:44 +0100
Re: JNI Invocation API example "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2013-09-28 14:40 +0100
Re: JNI Invocation API example Kenneth Miller <kennethadammiller@gmail.com> - 2013-09-28 16:22 -0700
Re: JNI Invocation API example Lew <lewbloch@gmail.com> - 2013-09-30 11:20 -0700
Re: JNI Invocation API example Roedy Green <see_website@mindprod.com.invalid> - 2013-10-01 21:48 -0700
csiph-web