|
Re: exception in thread main
You path is set to bin folder thats correct
but classpath doesn't set to any specific folder and i think you are storing and compile on a specific folder thats why the exception occurs so Javalang Try this
Create a folder say MyJavaPrograms in any drive say d:
set classpath=d:\MyJavaPrograms;
Then type ur program and save in MyJavaPrograms folder
compile the file on the same folder
i.e d:\MyJavaPrograms\javac Test.java
Now run it will definetly work
|