Exception in thread "main" java.lang.NoClassDefFoundError: cs.

Guys,

Please help me on my problem.

I have mapped an application in the environment variable then it runs will but then I need to run another application of the same application but I make sure that it the main class is of another name so that no conflict will occur. The problem is that second application is cannot run due to the Exception in thread "main" java.lang.NoClassDefFoundError: cs.

Plese help on this guys..

Thanks,

Mercy

[471 byte] By [mespedila] at [2007-11-27 7:37:23]
# 1
just set the classpath before running the second application or just put the .class file in separate directory or file sometimes this happens due to classloader mapped to the old .class file so it can be resolved by setting the jvm classpath.
sawona at 2007-7-12 19:17:58 > top of Java-index,Java Essentials,Java Programming...
# 2
Sawon,Actually I run the application in the the location where it is located sample: (Command promt)P:\mercy\classes\ java csException in thread "main" java.lang.NoClassDefFoundError: cs.How can I specify the path?
mespedila at 2007-7-12 19:17:58 > top of Java-index,Java Essentials,Java Programming...
# 3
First check your class name. Java is case sensitive.eg CSCscScsSecond, if it is in the package , you should specify c:\jdk home\classes\mypackage\classname
AnanSmritia at 2007-7-12 19:17:58 > top of Java-index,Java Essentials,Java Programming...