| Author |
error when testing...any help will be appreciated
|
Jacob James
Greenhorn
Joined: Jun 07, 2004
Posts: 9
|
|
I get the following error, I think my class paths are all well defined. I seem to be doing everything ok, but I just can't create my class file from the java file. Please do explain what do these errors mean
|
 |
Nathaniel Stoddard
Ranch Hand
Joined: May 29, 2003
Posts: 1258
|
|
You have one of two problems: 1) You are specifying the wrong class names, or have not imported the classes into your source code. 2) You do not have your classpath correctly set to include the jar file containing those classes. You can consult the SDK docs on how to set the classpath for (2). (1) should be fairly easy to fix if applicable.
|
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
|
 |
Jacob James
Greenhorn
Joined: Jun 07, 2004
Posts: 9
|
|
I think I have (2) set correctly, so it must be (1)...I've tried different permutations but nothing is improving, can someone give me some assistance on this front. Thanks
|
 |
Jacob James
Greenhorn
Joined: Jun 07, 2004
Posts: 9
|
|
|
pls help needed
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24043
|
|
|
If the compiler can't find your packages, then your CLASSPATH is set wrong -- simple as that. Have a look at the JavaRanch FAQ for a helpful guide.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: error when testing...any help will be appreciated
|
|
|