I am working on MAC OSX leopard 10.5.8. I am on OOP-1. I can compile my class but when I try and run it I get an error.
This is my version information.
I found another post in the cattle drive forum (2001/08/20) and it seems the person had a bad .zip file of the javaranch class. They re-downloaded and the problem was resolved. I have re-downloaded the jr.jar and no change.
Any suggestions welcome.
macbook:java mmg$ javac -classpath /Users/mmg/java/jr.jar /Users/mmg/java/DaysOld.java
macbook:java mmg$ java DaysOld 2009-1-1
Exception in thread "main" java.lang.NoClassDefFoundError: com/javaranch/common/GDate
This is my version information.
macbook:~ mmg$ java -version
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)
Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)
I found another post in the cattle drive forum (2001/08/20) and it seems the person had a bad .zip file of the javaranch class. They re-downloaded and the problem was resolved. I have re-downloaded the jr.jar and no change.
Any suggestions welcome.