View Single Post
Old 10-07-07, 11:58 AM   #8 (permalink)
t_mohan
Moderator
 
t_mohan's Avatar
 
Join Date: Apr 2006
Location: India
Posts: 636
Thanks: 57
Thanked 78 Times in 63 Posts
Thanks: 57
Thanked 78 Times in 63 Posts
Rep Power: 17 t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold
Re: exception in thread main

r u sure ur rt.jar is in the specified location, anyway what TAM told is right, u dont need to specify rt.jar in the classpath ,jus u specify it till the lib folder thats it, try this out and u'll get a solution, if u install java, it would in the following location as far as i know c:\j2sdk1.5.0_02\lib, whatever the path u specified is related to runtime environment, but u have give the API path as the class path

Usually when u install JAVA in ur system, there will be two folder created in your system
Ex: if u install J2sdk1.4.0 , the path will be like this
C:\Program Files\Java\j2re1.4.2\lib
__________________
M0h@n
t_mohan is offline   Reply With Quote