Mounting filesystems and such

Sean Kirkpatrick <[email protected]> Sun, 14 Jul 2002 12:07:27 +0000
Newsgroups gmane.comp.java.netbeans.education
Message-ID <[email protected]>
Hi all.

I'm new to Java, new to NetBeans, and have been assigned the Java 
Programming course at my JC this semester. I'm excited about teaching 
Java - have been looking for an excuse to learn it for a while (in my 
real life, we don't use java at all for performance reasons - I'm a 
programmer for Agilent Technologies).

I'm working my way through Thinking in Java, and have loaded Eckel's 
code onto my machine for experimentation. I've mounted a subdir called 
"code" as a filesystem, and want to be able to open each chapter subdir 
and compile/run the code from there. However, I think I have a path 
problem that is causing the following error.

I'm trying to run some code ~/code/c03/VowelsAndConsonants.java, but 
when I compile, it gives me the error

Exception in thread "main" java.lang.NoClassDefFoundError: 
c03/VowelsAndConsonants (wrong name: VowelsAndConsonants)

I suspect that it's not finding the right directory when parsing the 
input file, but I can't figure out how to fix it.

Any suggestions for solving this problem?

Are there any other resources that I can use in my class next semester?

Thanks!

    Sean