Re: Can't locate Javax

From: Chris Riesbeck (riesbeck_at_cs.northwestern.edu)
Date: 10/17/03


Date: 17 Oct 2003 10:02:24 -0700


"Asad Khan" <uoft_cstutor@yahoo.com> wrote in message news:<TPxjb.135305$ko%.127665@news04.bloor.is.net.cable.rogers.com>...
> Hi,
>
> I am using DrJava, and I am writing a program that has the following
> statement:
>
> import javax.swing;

This should be import javax.swing.*;

>
> I did set my classpath variable to:
>
> c:\j2sdk1.4.2\lib\tools.jar;C:\j2sdk1.4.2_01\src\javax

You don't need the source (src) directory. Just the tools.jar path