examples running in linux but fail to run in windows
1 posts in topic
Flat View  Flat View

Posted By:   awanit_walia
Posted On:   Saturday, March 9, 2002 07:22 AM

I have a very typical problem. I have been working on some java examples which were working fine but suddenly after running the examples a run time exception appears -- Exception in thread "main" java.lang.NoClassDefFoundError: -- for all of my compiled examples. The same examples are fine in linux OS but not in windows. I have even changed the directory and recompiled and also reinstalled jdk1.3, but the problem persists
plz help.

Please use html tags to format code blocks.

Re: examples running in linux but fail to run in windows

Posted By:   Simon_Ablett  
Posted On:   Monday, March 11, 2002 08:16 AM

The NoClassDefFoundError is generated by the JVM's classloader when it can't find a required class. Are you sure that your CLASSPATH is set up correctly? Are all of the required jar/class files present. Check your dependencies. Does the class file mentioned in the exception exist in your target environment? Beyond that it's impossible to help you given the limited information you have supplied.

About | Sitemap | Contact