Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"package SwingCopy.* does not exist"

Status
Not open for further replies.

dougnc

Programmer
Sep 2, 2001
62
US
In 1.2 I used to be able to:
javac -classpath . Program.java, and any java classes I had in that directory would be imported.

But now, in 1.3, no matter what I do, my "import SwingCopy.*" doesn't want to find SwingCopy.

I know it's something stupid, but still, any help would be greatly aprectiated.
 


Does the jvm know the path to package SwingCopy (is it in dir . ?)
have you tried import SwingCopy.AparticularClass ?

There was a thread about this same prob the other day but I cant find it, and I cant remember the fix....Check out the 'Java(Sun)' forum Thread thread269-359057
 
Thanks. It's very weird, tho. Even:
javac SwingCopy.java Program.java doesn't work.

I tried specifying the class and stuff.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top