[Fwd: Re: Installing Jama]


Sender: Michal Rehak <michal.rehak@fsv.cvut.cz>
Subject: Re: Installing Jama


Greetings,

I believe that variable classpath should be defined with capitals
(CLASSPATH) - but maybe it is just a linux issue.

If there is directory Jama in Your defined classpath location
(C:\Java\jdk1.5.0) then the command should work anywhere:
java Jama.test.TestMatrix

.. ofcourse there have to be all the class files
(%CLASSPATH%/Jama/test/TestMatrix.class) and the case matters.

Perhaps it is wise to try the classpath-settings first - using switch -cp:
java -cp XXX;YYY;ZZZ Jama.test.TestMatrix
and define system variable CLASSPATH after You succeed with this.

If there is only .jar file, then classpath must contain path to this
file, including jar-file.

java -cp "C:\Java\jdk1.5.0\jama.jar" Jama.test.TestMatrix



If still no sound, perhaps it could help, if You post output of
java -version

and content of C:\Java\jdk1.5.0

That's all I can think of - I never installed jama, I simply copy its
sources into workspace source directory (using eclipse www.eclipse.org).


Michal






gtg680f@mail.gatech.edu wrote:
> Hello, again
> 
> Okay, below are the exact commands I entered into the command prompt.  I
> am not
> sure what all of the errors mean, but I would certainly appreciate any
> help.
> 
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> 
> C:\Documents and Settings\Compaq_Owner>cd c:\java\jdk1.5.0
> 
> C:\Java\jdk1.5.0>echo %classpath%
> c:\Java\jdk1.5.0
> 
> C:\Java\jdk1.5.0>java Jama.test.TestMatrix
> Exception in thread "main" java.lang.ClassFormatError: Unknown constant
> tag 13 i
> n class file Jama/test/TestMatrix
>        at java.lang.ClassLoader.defineClass1(Native Method)
>        at java.lang.ClassLoader.defineClass(Unknown Source)
>        at java.security.SecureClassLoader.defineClass(Unknown Source)
>        at java.net.URLClassLoader.defineClass(Unknown Source)
>        at java.net.URLClassLoader.access$100(Unknown Source)
>        at java.net.URLClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 
> C:\Java\jdk1.5.0>
> 
> Wakefield Travers
> 
> Quoting Ron Boisvert <boisvert@nist.gov>:
> 
>> ... or this
>>
>> -------- Original Message --------
>> Subject:     Re: Installing Jama
>> Date:     Thu, 8 Jun 2006 15:48:18 -0400 (EDT)
>> From:     Ray A. Conner <rconner@objectsciences.com>
>> Reply-To:     jama@nist.gov
>> To:     Multiple recipients of list <jama@nist.gov>
>>
>>
>>
>> Can you paste in here what you typed in for step #9 and the result?
>> What is the exact command-line that you are issuing to execute the demo
>> programs, and can you supply the full text of the error (the whole stack
>> trace)?
>>
>> As a side note, when you submit questions to programming forums, try to
>> reproduce your problem in a completely textual form (both what you
>> entered and everything the computer spit back at you) and append that to
>> the email.
>>
>>








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