Hi Gavin,
You probably set your Classpath wrong or didn't restart your Command Prompt for the change to take effect.
{font:style=font-size: 12pt;}*1-Make sure that the path is correct:*{font}
{font:style=font-family: courier new,courier; color: #0000ff;}*dir C:\seleniumRC\src\selenium-java-client-driver-1.0-beta-1\selenium-java-client-driver.jar*{font}
If it returns "The system cannot find the path specified.", then your path is incorrect.
*{font:style=font-size: 12pt;}2-{font}*{font:style=font-size: 12pt;}*To rule out your setting with Classpath, just specify the Classpath directly to javac.*{font}
Therefore, instead of
{font:style=font-family: courier new,courier; color: #0000ff;}*javac NewTest.java*{font}
use this
{font:style=font-family: courier new,courier; color: #0000ff;}*javac -classpath {font:style=color: #ff0000;}C:\seleniumRC\src\selenium-java-client-driver-1.0-beta-1\selenium-java-client-driver.jar{font} NewTest.java*{font}
Note: Depending on 1-, change the red part to the location of your {font:style=font-family: courier new,courier; color: #0000ff;}*{font:style=color: #ff0000;}selenium-java-client-driver.jar{font}*{font} file.
Xuan.
[
openwritings.net|
http://openwritings.net]