To compile the Ptplot Java classes, they must be in the directory
ptolemy\plot, so you must move them from c:\jdk1.2.2\ptplot into a
directory called ptolemy\plot
Then cd to that directory, set your CLASSPATH to ..\..
and run javac *.java
C:\tmp\ptplot2.0\ptolemy.plot2.0\ptolemy\plot>rm *.class
C:\tmp\ptplot2.0\ptolemy.plot2.0\ptolemy\plot>set CLASSPATH=..\..
C:\tmp\ptplot2.0\ptolemy.plot2.0\ptolemy\plot>echo %CLASSPATH%
..\..
C:\tmp\ptplot2.0\ptolemy.plot2.0\ptolemy\plot>javac *.java
C:\tmp\ptplot2.0\ptolemy.plot2.0\ptolemy\plot>
If you are familiar with Unix, you might want to install the Cygwin
toolkit, from http://sourceware.cygnus.com/cygwin/. Ptplot is set up
to use /bin/sh and make for installation, and if the Cygwin toolkit is
present under Windows, then everything works fine.
-Christopher
--------
Hello Hackers,
System: Microsoft Windows NT 4.0
Java: JDK 1.2.2
Package: Ptplot 2.0
Level: newbie
I have successfully installed jdk1.2.2 and have
successfully compiled the "HelloWorld.java" program.
Next, I created a subdirectory called "ptplot" and
copied the ptolemy jars and Ptplot demo programs.
Now, how (slowly, for the clueless) does one compile the
Ptplot demo apps?
Love,
Frank
Below are screen shots of the "ptplot" directory and error messages:
C:\jdk1.2.2\ptplot>dir
Volume in drive C has no label.
Volume Serial Number is 383D-15DC
Directory of C:\jdk1.2.2\ptplot
08/16/99 09:57a <DIR> .
08/16/99 09:57a <DIR> ..
08/13/99 09:30a 69,041 ptolemy.plot.jar
08/13/99 09:30a 42,237 ptolemy.plotapplet.jar
11/17/98 11:16a 3,369 PlotFourierSeries.java
11/17/98 11:16a 3,848 PlotDemo.java
11/17/98 05:36p 5,629 TwoPlotExample.java
11/17/98 04:17p 5,129 PlotExample.java
11/17/98 11:16a 3,440 PlotLiveDemo.java
11/17/98 11:16a 2,245 PlotLiveDemoApplet.java
11/17/98 03:35p 2,556 SimplePlotApplication.java
11/19/98 07:29p 14,730 PlotApplication.java
12 File(s) 152,224 bytes
132,972,544 bytes free
C:\jdk1.2.2\ptplot>..\bin\javac PlotApplication.java
PlotApplication.java:106: Superclass ptolemy.plot.PlotFrame of
class ptolemy.plot.PlotApplication not found.
public class PlotApplication extends PlotFrame {
^
1 error
C:\jdk1.2.2\ptplot>..\bin\javac PlotFourierSeries.java
PlotFourierSeries.java:43: Superclass ptolemy.plot.demo.PlotApplet of
class ptolemy.plot.demo.PlotFourierSeries not found.
public class PlotFourierSeries extends PlotApplet {
^
1 error
---------------------------------------------------------------------------
-
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]
--------
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]