You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by venkata ramesh kumar masavarapu <ra...@yahoo.com> on 2003/12/05 15:40:26 UTC
Problem with NoClassDefFoundError
Hi all,
I am using the ant distributed through JWSDP.
I have looked around for answers for the following
error but couldnt find any.
After i type ant i get this error:
Exception in thread "main"
java.lang.NoClassDefFoundError:
Files\j2sdk_nb\j2sdk1/4/2\lib\tools/jar;C:\Program
I guess the last line in the error should be:
C:\Program Files\j2sdk_nb\j2sdk1/4/2\lib\tools/jar;
(Command Prompt is screwed up anyways)
My environment variables:
JAVA_HOME= C:\Program Files\j2sdk_nb\j2sdk1.4.2
ANT_HOME=C:\Program Files\Java_WSDPack\apache-ant
PATH=C:\Perl\bin\;C:\Program
Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Program
Files\Java_WSDPack\bin;C:\WINDOWS\system32;C:\
WINDOWS;C:\WINDOWS\System32\Wbem;C:\downloads\wget;C:\Program
Files\NMapWin\bin;C:\Program Files\Java_WSDPack\a
pache-ant\bin;C:\Program
Files\Java_WSDPack\jwsdp-shared\bin;C:\Program
Files\Java_WSDPack\apache-ant;C:\Progra
m Files\j2sdk_nb\j2sdk1.4.2;C:\Program Files\SSH
Communications Security\SSH Secure Shell
So the ant's bin directory does exist in the PATH and
so does the ANT_HOME environment variable. I am sure
its got to do something with the java installation but
have no clue.
thanks in advance
Ramesh
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Problem with NoClassDefFoundError
Posted by venkata ramesh kumar masavarapu <ra...@yahoo.com>.
Thanks.It worked.
--Ramesh
--- Eric.dl.De_Loof@alcatel.fr wrote:
> Hello,
>
> I also tried to use ant delivered with JWSDP 1.3.
> Same error occured.
> My solution is to install another ant 1.5 package,
> not the one of JWSDP.
>
> Eric
>
> ----- Original Message -----
> From: "venkata ramesh kumar masavarapu"
> <ra...@yahoo.com>
> To: <us...@ant.apache.org>
> Sent: Friday, December 05, 2003 3:40 PM
> Subject: Problem with NoClassDefFoundError
>
>
> > Hi all,
> > I am using the ant distributed through JWSDP.
> > I have looked around for answers for the following
> > error but couldnt find any.
> > After i type ant i get this error:
> >
> > Exception in thread "main"
> > java.lang.NoClassDefFoundError:
> > Files\j2sdk_nb\j2sdk1/4/2\lib\tools/jar;C:\Program
> >
> > I guess the last line in the error should be:
> >
> > C:\Program
> Files\j2sdk_nb\j2sdk1/4/2\lib\tools/jar;
> >
> > (Command Prompt is screwed up anyways)
> >
> > My environment variables:
> > JAVA_HOME= C:\Program Files\j2sdk_nb\j2sdk1.4.2
> > ANT_HOME=C:\Program Files\Java_WSDPack\apache-ant
> > PATH=C:\Perl\bin\;C:\Program
> > Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Program
> > Files\Java_WSDPack\bin;C:\WINDOWS\system32;C:\
> >
>
WINDOWS;C:\WINDOWS\System32\Wbem;C:\downloads\wget;C:\Program
> > Files\NMapWin\bin;C:\Program Files\Java_WSDPack\a
> > pache-ant\bin;C:\Program
> > Files\Java_WSDPack\jwsdp-shared\bin;C:\Program
> > Files\Java_WSDPack\apache-ant;C:\Progra
> > m Files\j2sdk_nb\j2sdk1.4.2;C:\Program Files\SSH
> > Communications Security\SSH Secure Shell
> >
> > So the ant's bin directory does exist in the PATH
> and
> > so does the ANT_HOME environment variable. I am
> sure
> > its got to do something with the java installation
> but
> > have no clue.
> >
> > thanks in advance
> > Ramesh
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Free Pop-Up Blocker - Get it now
> > http://companion.yahoo.com/
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> user-help@ant.apache.org
> >
> >
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
>
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Problem with NoClassDefFoundError
Posted by Er...@alcatel.fr.
Hello,
I also tried to use ant delivered with JWSDP 1.3. Same error occured.
My solution is to install another ant 1.5 package, not the one of JWSDP.
Eric
----- Original Message -----
From: "venkata ramesh kumar masavarapu" <ra...@yahoo.com>
To: <us...@ant.apache.org>
Sent: Friday, December 05, 2003 3:40 PM
Subject: Problem with NoClassDefFoundError
> Hi all,
> I am using the ant distributed through JWSDP.
> I have looked around for answers for the following
> error but couldnt find any.
> After i type ant i get this error:
>
> Exception in thread "main"
> java.lang.NoClassDefFoundError:
> Files\j2sdk_nb\j2sdk1/4/2\lib\tools/jar;C:\Program
>
> I guess the last line in the error should be:
>
> C:\Program Files\j2sdk_nb\j2sdk1/4/2\lib\tools/jar;
>
> (Command Prompt is screwed up anyways)
>
> My environment variables:
> JAVA_HOME= C:\Program Files\j2sdk_nb\j2sdk1.4.2
> ANT_HOME=C:\Program Files\Java_WSDPack\apache-ant
> PATH=C:\Perl\bin\;C:\Program
> Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Program
> Files\Java_WSDPack\bin;C:\WINDOWS\system32;C:\
> WINDOWS;C:\WINDOWS\System32\Wbem;C:\downloads\wget;C:\Program
> Files\NMapWin\bin;C:\Program Files\Java_WSDPack\a
> pache-ant\bin;C:\Program
> Files\Java_WSDPack\jwsdp-shared\bin;C:\Program
> Files\Java_WSDPack\apache-ant;C:\Progra
> m Files\j2sdk_nb\j2sdk1.4.2;C:\Program Files\SSH
> Communications Security\SSH Secure Shell
>
> So the ant's bin directory does exist in the PATH and
> so does the ANT_HOME environment variable. I am sure
> its got to do something with the java installation but
> have no clue.
>
> thanks in advance
> Ramesh
>
>
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org