Hi Everyone,
I work with
java 1.4, but I wrote a very small program with enums and that could not be compiled with 1.4 so I compiled with 1.6. Then I tried run the class using java
classname But I got the following message :
Exception in
thread "main" java.lang.NoClassDefFoundError: aa
I know this is some problem due to class path setting as both versions are installed on my system. I tried to fix this with java -classpath.aa , but this gives the following error:
Unrecognized option: -classpath.aa
Could not create the Java virtual machine.
Please tell me how I can fix this so that I can
test new java features with little code snippets.
Thanks,
Thejaswini.