Problem in compiling in Netbeans IDE

Hi all,

I am using Netbean 3.6. I am getting an error in compling

Class.forName("ClassName");

Cannot resolve symbol. What should I do About it.

However I am able compile the same program in command line. Only I am unable compile in netbean 3.6. Do I need to change any settings. Please let me know.

My mail Id is

skumarv79@yahoo.co.in

skumarv@hotmail.com

Regards,

Saravanakumar

[443 byte] By [babu99a] at [2007-11-26 14:33:22]
# 1

Is there any reason that you are using 3.6? I am using 5.5.

anyway the forName method returns the Class object associated with the class or interface with the given string name.

so for the given:

Class.forName("ClassName");

The Class.forName method must be used with care in JRE code. A call

of the type Class.forName(classname) can only be assumes to find classes on the bootclasspath, since it does a look up on the callers classloader

orozcoma at 2007-7-8 2:29:09 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...