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?

