Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 30782 invoked from network); 29 May 2006 13:16:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 May 2006 13:16:45 -0000 Received: (qmail 83039 invoked by uid 500); 29 May 2006 13:16:42 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 82204 invoked by uid 500); 29 May 2006 13:16:40 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 82193 invoked by uid 99); 29 May 2006 13:16:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 06:16:40 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.27.42.29] (HELO smtp3-g19.free.fr) (212.27.42.29) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 06:16:39 -0700 Received: from imp6-g19.free.fr (imp6-g19.free.fr [212.27.42.6]) by smtp3-g19.free.fr (Postfix) with ESMTP id 063BB49374 for ; Mon, 29 May 2006 15:16:19 +0200 (CEST) Received: by imp6-g19.free.fr (Postfix, from userid 33) id E8C7E60E1; Mon, 29 May 2006 15:16:18 +0200 (CEST) Received: from reverse.completel.net (reverse.completel.net [83.145.89.123]) by imp6-g19.free.fr (IMP) with HTTP for ; Mon, 29 May 2006 15:16:18 +0200 Message-ID: <1148908578.447af422d66e7@imp6-g19.free.fr> Date: Mon, 29 May 2006 15:16:18 +0200 From: luc.maisonobe@free.fr To: Jakarta Commons Users List Subject: Re: Using the cumulative probability distribution method References: <20060529113322.26721.qmail@web86406.mail.ukl.yahoo.com> In-Reply-To: <20060529113322.26721.qmail@web86406.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 83.145.89.123 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Selon Rosie Chandler : > Thankyou for your help. you're welcome > I have successfully compiled your suggested code, but > when I try to run it I get the following error: > > Exception in thread "main" > java.lang.NoClassDefFoundError: > org/apache/commons/math/MathException > > Is there anything else that I have missed out? I am > compiling the code with the commons-math-1.1.jar in > the classpath. Once compilation has been performed, you must have both the .jar archive and the the directory containing the .class file in your classpath for running. The .class file does not contain the code from the library, only a reference to the classes and methods it uses. If you have a background in compiled languages, you can see a jar file as something similar to a shared object library (a .so file under Unix and GNU/Linux systems, a dll under Windows systems). It is needed at runtime. Luc --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org