This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi. I think you have to add that class in classpath environment variables. Like you must have added tools.jar in your classpath environment variable. And thats why when you are importing all the java calsses like java.util, java.math etc the system knows where to pick all thjese calsses. Like that yours is also an import statement and if I am not wrong you need to add this package path into your classpath system environment variable.
Just try this it may solve your problem.
Regards,<br />Satya<br />SCJP,SCWCD
Joined: Jul 06, 2006
I am late at my own party!
Thanks guys...i will try all your answers. Priya Viswam emailed me a solution (such a nice lady!) Shamefully did not find time to try it out till now.