No, I'm sorry, I added the "com" in myself - editor's eye. It is complaining
that it can't find sun/tools/Constants.

I will try to have her reinstall the JDK tomorrow.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 5:31 PM
To: [EMAIL PROTECTED]
Subject: RE: com/sun/tools/Constants missing?


in your build.xml you can try to set this property
  <property name="build.sysclasspath" value="ignore"/>
that should clear the system classpath from being used by ant

also, Brett is right, in my jdk1.3 i do not have com.sun.tools.Constants
class. The nearest one i can see is sun.tools.java.Constants. Could it be
that your friend version of jdk1.3 is bad? Can you try to download new one?


-----Original Message-----
From: Brett Knights [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 5:10 PM
To: [EMAIL PROTECTED]
Subject: RE: com/sun/tools/Constants missing?


I have jdk 1.3.1 and don't have that class (or package) anywhere.

try 
jar -tf tools.jar com\sun\tools\Constants

or 
jar -tf tools.jar com\sun\tools\Constants.class

neither returns anything here.

HTH

> -----Original Message-----
> From: Mark Ashton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 2:41 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: com/sun/tools/Constants missing?
> 
> 
> I don't understand what you mean by clearing the classpath. 
> If you mean to
> unset the environment variable, we've tried that and it doesn't work.
> 
> It's clearly an environment problem, but I'm stumped as to what could
> possibly cause it.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: RE: com/sun/tools/Constants missing?
> 
> 
> sounds more like environment issue with her machine, since it 
> is working on
> yours
> can you clear class path before you run the ant?
> 
> -----Original Message-----
> From: Mark Ashton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 2:50 PM
> To: '[EMAIL PROTECTED]'
> Subject: com/sun/tools/Constants missing?
> 
> 
> I've got a person at our site who is trying to use ant, and 
> gets a message
> saying that the com/sun/tools/Constants class can't be found. 
> The stack
> trace shows that this is propagating from an rmic task. No 
> one else has this
> problem. She has tools.jar installed in her jdk1.3/lib 
> directory, and we've
> even tried putting it explicitly in her classpath. Any ideas?
> 

Reply via email to