Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: clusardi2k@aol.com Newsgroups: comp.lang.java.programmer Subject: Re: Using JNI to Invoke C++ Method from Java via NetBeans 7.1.2 (Question: How to Import Stuff?) Date: Thu, 14 Jun 2012 13:20:37 -0700 (PDT) Organization: http://groups.google.com Lines: 9 Message-ID: <3e5b3282-babb-40fb-a3a3-23d21917a95a@googlegroups.com> References: <5b852d14-dd46-463e-9d13-7602e17c151f@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 1339705238 29768 127.0.0.1 (14 Jun 2012 20:20:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 14 Jun 2012 20:20:38 +0000 (UTC) In-Reply-To: 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 X-Received-Bytes: 1548 Xref: csiph.com comp.lang.java.programmer:15294 I figured it out! You put the packages mentioned (the dotted thing) with the dot jar files in the environment variable called CLASSPATH and the classes (from the jar) go in your import statements. For Windows, that looks like: set CLASSPATH=%CLASSPATH%;C:/.../dist/lib/file1.jar;C:/.../dist/lib/file2.jar import one.two.three.thing;//For the package (one.two.three.thing) listed on the IDE with the class called "thing". Thanks,