hi,
I design a Observer Pattern to
sperate logic and presentation operation
about the "Observer"
part,
I use
a state pattern for change different view with Java3D (class called
""ViewState")
thus, when the logic operation
Notify(),
then the Update() would be invoked
i
NoClassDefFoundError is given when it can't find the ".class" file.
If PickTest.class is in your current directory and :
java PickTest
gives you the error, then your CLASSPATH
is not set to search the current directory.
On both Windows and Linux you have to set the
CLASSPATH to execute programs
I put java 1.3.1-02 and java 3d 1.3Beta2 onto my friend's PC (Windows 98).
Installed O.K. (Wow! That was easy!)
Ran Java 3D demos O.K.
Then I took an application I developed on my Windows 2000 PC (same Java and
Java 3D versions) and copied it to my friend's PC.
When I run it with
javaw -jar theA