[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orekit Users] uncompilable source - error from NetBeans



In Netbeans 7.1.x, there is a "Projects" tab in the window with "Projects, Files, Services." Click the "Projects" tab and expand the list under the project you need to add the JAR. Right click on the "Libraries" item and a contextual menu should pop up with selection for adding JAR files and such.

Hope this helps.


On 07/25/2013 06:46 AM, Michael Turner wrote:
Any suggestions about where to install Apache Commons Math 3?

As it is, I'm a little mystified about how to add anything to my
classpath in NetBeans. I have very little Java programming experience
.... gmake and C++ were my preferred tools when I was working on this
kind of code. I'd prefer a sequence like ftp/gunzip/config/make
install, but I guess I'm from the caveman days of programming ;^(


Regards,
Michael Turner

Project Persephone
K-1 bldg 3F
7-2-6 Nishishinjuku
Shinjuku-ku Tokyo 160-0023
Tel: +81 (3) 6890-1140
Fax: +81 (3) 6890-1158
Mobile: +81 (90) 5203-8682
turner@projectpersephone.org
http://www.projectpersephone.org/

"Love does not consist in gazing at each other, but in looking outward
together in the same direction." -- Antoine de Saint-Exupéry


On Wed, Jul 24, 2013 at 11:22 PM, MAISONOBE Luc <luc.maisonobe@c-s.fr> wrote:
Hi Michael,

Michael Turner <michael.eugene.turner@gmail.com> a écrit :


I'm trying to ease into the example code provided. Adding this line

   import org.apache.commons.math3.geometry.euclidean.threed.RotationOrder;

to a simple HelloWorld app, then trying to run it, caused an error
message about the app being uncompilable. Any idea what would cause
this?


This may happen if you don't have Apache Commons Math 3 in your classpath.
Perhaps you have a wrong version of the library (prior to 3.X the top level
import package was not the same), or perhaps there is a missing dependency
(in order to use Orekit you must have both Orekit and Apache Commons Math
declared as dependencies of your project).

best regards,
Luc



Regards,
Michael Turner

Project Persephone
K-1 bldg 3F
7-2-6 Nishishinjuku
Shinjuku-ku Tokyo 160-0023
Tel: +81 (3) 6890-1140
Fax: +81 (3) 6890-1158
Mobile: +81 (90) 5203-8682
turner@projectpersephone.org
http://www.projectpersephone.org/

"Love does not consist in gazing at each other, but in looking outward
together in the same direction." -- Antoine de Saint-Exupéry





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




--
Craig.E.Ward@computer.org