Help me in Setting Classpath
I have set two environment variables for JAVA JDK.
1. PATH=C:\Program Files\Java\jdk1.6.0_26\bin;%PATH%
2. CLASSPATH=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar
When I compiled the file using javac it was done successfully but when I ran the file using java command I got the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld