when i compile my program, it compiles fine, but when i run it, it gives me this error
"Exception in thread "main" java.lang.NoClassDefFoundError: Geometry/Point
at TryPackage.main(TryPackage.java:5)"
i compiled it using the command line by:
"javac -classpath ".;C:\Java\Packages" TryPackage.java"
current directory is in My Documents. Point.java and Line.java are in package "Geometry" found in C:\Java\Packages\Geometry
my main program, TryPackage.java, is in My Documents
I'm following an example from a book, i think I followed it correctly since it compiled fine..
help pls..