| Author |
Doubt in class.forName()
|
sridhar Ranganathan
Greenhorn
Joined: Feb 06, 2008
Posts: 29
|
|
------------------------------ Thanks, Sridhar.R --------------- Its compiled fine..But while running iam getting following errors...Kindly help me and tell me reason...I have setted the env variables properly... [RP]Added code tags[/RP] [ September 30, 2008: Message edited by: Rob Prime ]
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
Please Use Code Tags. I've added them for you this time. How are you invoking the JVM? Are you using JP1.b, or just b as the class name? Because it needs to be the fully qualified name, with the package: JP1.b
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Poonam Agarwal
Ranch Hand
Joined: May 12, 2008
Posts: 323
|
|
Are you using JP1.b, or just b as the class name -------------------------------------------------------------------------------- Are you talking about JP1.a I guess becouse this code did't use JP1.b anywhere... please correct me if I am wrong.
|
Thanks <br />Poonam Agarwal SCWCD 86%
|
 |
Poonam Agarwal
Ranch Hand
Joined: May 12, 2008
Posts: 323
|
|
Are you using JP1.b, or just b as the class name -------------------------------------------------------------------------------- Are you talking about JP1.a I guess becouse this code did't use JP1.b anywhere... please correct me if I am wrong.
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
Originally posted by Poonam Agarwal: Are you using JP1.b, or just b as the class name -------------------------------------------------------------------------------- Are you talking about JP1.a I guess becouse this code did't use JP1.b anywhere... please correct me if I am wrong.
Your class name is b and it's in a package called JP1, therefore the full name of the class is JP1.b.
|
Joanne
|
 |
 |
|
|
subject: Doubt in class.forName()
|
|
|