Problem with running a java program
Hi,
I can compile a java program as javac -classpath C:\mets.jar test.java
without any problem. However, when I try to run the program as
java -classpath C:\mets.jar test. I got the error message as "Exception in thread "main" java.lang.NoClassDefFoundError. I checked my classpath and path, and they both are setup with C:\Program Files\Java\jre1.5.0_06\bin. I am not sure what is wrong with my setting.
Thanks

