[Fwd: Re: [Fwd: Installation problems]]


Sender: "Ray A. Conner" <rconner@objectsciences.com>
Subject: Re: [Fwd: Installation problems]


You need to unzip the zip file and add the directory above the resulting
"Jama" directory to your classpath instead (assuming that zip file
contains the same stuff as the version I got a few years ago).

Most open source Java products these days will provide .jar files, which
you would explicitly add to your classpath (rather than the directory
containing the class files).  But Jama was released long before this
became common practice.

A side note - if you're running from the command-line and adding these
things to your "global" classpath (changing the environment variable via
Windows dialogs), then you may run into problems if you're working on
more than one project.  This is because any time you run any Java
program, Jama (and whatever else you put in the classpath) will be on
your classpath whether you want it there or not.  How to properly deal
with that is really beyond the scope of this mailing list and will be
heavily dependent on your environment, what tools you use, etc.  Just
thought I would point it out.  I suggest finding a colleague with more
extensive Java knowledge.

- Ray A. Conner


Ron Boisvert wrote:
> 
> 
> -------- Original Message --------
> Subject:     Installation problems
> Date:     Mon, 24 Jul 2006 19:00:55 -0400 (EDT)
> From:     Manu Hack <manuhack@gmail.com>
> Reply-To:     manuhack@gmail.com
> To:     boisvert@nist.gov
> 
> 
> 
> I have some difficulties in installing the package.  I'm using Windows
> XP with jdk1.5.0_07.  I put the package Jama-1.0.2.zip in the folder
> c:\JavaPackage and I added the classpath in envirnment variable as
> classpath=.;C:\JavaPackage\Jama- 1.0.2.zip.  Then I write up a test
> class to test.  I can run the line import Jama.*; without error but when
> I added the two lines as in the example in the website,
> 
>             double[][] array = {{1.,2.,3},{4.,5.,6.},{7.,8.,10.}};
>      Matrix A = new Matrix(array);
> 
> it returned an error :  cannot access Jama.Matrix.  Any suggestion would
> be very helpful.  Thank you very much.
> 
> And I think it would be very helpful to describe in the website how one
> could install the package although it is trivial to many users.
> 







Date Index | Thread Index | Problems or questions? Contact list-master@nist.gov