View Single Post
Old 05-07-07, 12:40 PM   #5 (permalink)
TAM
Senior Member
 
TAM's Avatar
 
Join Date: Oct 2006
Location: Mayiladurai (TN)
Posts: 233
Thanks: 8
Thanked 7 Times in 5 Posts
Thanks: 8
Thanked 7 Times in 5 Posts
Rep Power: 5 TAM is on a distinguished road
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
TAM is offline   Reply With Quote