When I type javac <<File.java>> on commandline, it successfully compile the file. But when i use java <<File>> on commandline, "Exception in thread "main" java.lang.NoClassDefFoundError: <<File>>" though the file consists of main method.
I also set the Path env. variable.
Can anyone suggest me some other approach ?
posted 12 years ago
Um this really isn't the right place for that question... but you have a problem with the name of the file and the name of the class not being the same (or at least thats my first impression).