|
Re: exception in thread main
Hii TAM,sorry i dont know ur name,but iam afraid that u are wrong.classpath is always set to C:\Program Files\Java\jdk1.5.0_02\jre\lib\rt.jar; by this it is ensured that u can run ur java application from anywhere not as u mentioned from specifc folder.
u try this and chk it will work,try to set ur classpath as i mentioned and then u can write ur java programs from any folder u want on any drive.
as rt.jar contains all the packages.
try this and see it will definetly work.as far as my problem is ,i dont understand y it is not working it MUST work,as it was working earlier but suddenly it stopped working.
i think its not the classpath problem ,and i also tried ur method which is also giving me the same error.
Thank U,waitng for ur reply.
|