In the java command, i.e. java -cp path;path applicationName does the specified classpath take precedence over the classpath specified in the operating system? In this case, the operating system is Windows 2000 Server. Thanks in advance for your help John Davis p.s. The reason I ask is that I am getting NoClassDefFoundError when I run an application which attempts to instantiate an object the class for which is included in a .jar file pointed to by the classpath parameter in the java command.
It doesn't just take precedence. It replaces the system classpath entirely. Are you sure the class it's complaining about is in your new classpath? Sometimes the message is confusing, and leads you to believe it's complaining about a class it did find, when it's actually complaining about something else referred to by that class.
passwords must contain 14 characters, a number, punctuation, a small bird, a bit of cheese and a tiny ad.