Thanks for the reply.  I created a CLASSPATH system environment variable
with the path c:\Ptolemy\ptII5.0-beta\poi\poi-2.5.1-final-20040804.jar.  I
get the same error.

I had not been using a CLASSPATH environment variable, but instead putting
the classpath on the javac command line to make sure that was not causing my
problem.  Does Ptolemy look at this variable when it runs to see where to
find .jar files?

Also, vergil -v gives me an error of "Cannot set parameter -v when no value
is given".  If I try to give it a value, I get "Failed to parse -v 1,
Unrecognized option.  No parameter exists with name v"

A bit more information:

I am running on Win XP.  I recompiled Ptolemy under cygwin using the
instructions on the website.  However, I compile RangeReader with the DOS
command line instead of cygwin and make to minimize the number of things I'm
using without fully understanding.

Any more suggestions?


-----Original Message-----

Hi Wayne,

This is a classpath problem.

You could try adding
c:\Ptolemy\ptII5.0-beta\poi\poi-2.5.1-final-20040804.jar
to your CLASSPATH environment variable.

To do this permanently under Windows XP, Click on "Start" and then right
click on the "My Computer" menu choice and select "properties".

The System Properties Window will come up.
In that window, select Advanced and then Environment Variables

In the Environment Variables window, look for the CLASSPATH variable, it is
probably already in the "System Variables" section.

Select the CLASSPATH variable, and hit edit and then add your jar file.
Note that you should use semicolons to separate the jar from the other
elements in your CLASSPATH.


Under Cygwin bash, you could add to your classpath temporarily with


    export
"CLASSPATH=c:/Ptolemy/ptII5.0-beta/poi/poi-2.5.1-final-20040804.jar;${CLASSP
ATH}"

However, you would need to do this each time you start up a bash shell.


When you run vergil, if you run it with the -v option it will show you the
classpath:
    
    vergil -v

_Christopher

Christopher Brooks (cxh at eecs berkeley edu) University of California
Programmer/Analyst Chess/Ptolemy/Trust        US Mail: 558 Cory Hall #1770
ph: 510.643.9841 fax:510.642.2739             Berkeley, CA 94720-1770
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480  (office: 400A Cory)





----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to