classpath works with javac command but not java command

The file compiles with this command:

javac -classpath"." src\helloworldex\helloworldex_example.java

the .class file appears in the folder src/helloworldex

I try to run with this command:

java -classpath"." src.helloworldex.helloworldex_example

but i get a java.lang.NoClassDefFoundError: src/helloworldex/hellworldex_example (wrong name: helloworldex/helloworldex_example)

What do I need to do?

[489 byte] By [allelopatha] at [2007-11-27 1:24:07]
# 1
The runtime message is indicating that you have helloworldex_example in a package helloworldex. Tryjava -classpath src helloworldex.helloworldex_example
pbrockway2a at 2007-7-12 0:14:47 > top of Java-index,Java Essentials,Java Programming...
# 2
What package is helloworldex_example defined in?
DrLaszloJamfa at 2007-7-12 0:14:47 > top of Java-index,Java Essentials,Java Programming...
# 3
thanks
allelopatha at 2007-7-12 0:14:47 > top of Java-index,Java Essentials,Java Programming...