View Single Post
Old 05-07-07, 12:57 PM   #6 (permalink)
JavaLang
Junior Member
 
Join Date: Jul 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 JavaLang is on a distinguished road
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.
JavaLang is offline   Reply With Quote