I'mDorked Up with Exception in thread

I'm spinning as I try to debug something easy I know. I'm new. I have this application that it's java root is called myapp. I have created a java class called TcSQLConnect in the following directory: scenario\db\util

My package looks like this:

package myapp.db.util;

When I run go to run it using from the directory before scenario:

java myapp\db\util\TcSQLConnect

I receive "Exception in thread "main" java.lang.NoClassDefFoundError: myapp\db\util\TcSQLConnect (wrong name: myapp/db/util/TcSQLConnect)

...

When I run go to run it using from the directory util, I received the same.

What I'm I doing wrong? How do I correct?

TC

[693 byte] By [tclyndella] at [2007-10-2 11:34:36]
# 1
I suggest that you read the material here about setting/using the classpath and how Java finds classes: http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#generalYour directory organization does not match what you're specifying.
ChuckBinga at 2007-7-13 5:02:48 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...