Hey,

I think this is not a good hint to store class files under a jdk/jsdk or
something else -dir.
It's always not favourable to mix executables and datas (because if
you're changing version
the extern classes could be deleted)

I'd prefer to establish an extra central dir for all extern (or
generally all, including your own) classes, packages and jar-Files
f.e. D:\javaClasses\com.wrox.
and so on
now you have to add only this javaClasses-dir in your CLASSPATH and if
you put always classes from extern
in this dir you 'd never had a problem like this

Beside that: *.class are not Binaries what \bin stands for (thatswhy SUN
stores *.jar in \lib)

/*************************/
 Thomas Schuchert
 Cyberconsult
 Beratungsgesellschaft f�r Neue Medien mbH
 [EMAIL PROTECTED]
 0049 30 - 39 99 05 46
/*************************/


> -----Urspr�ngliche Nachricht-----
> Von:  venkat atluri [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Donnerstag, 11. Mai 2000 15:16
> An:   [EMAIL PROTECTED]
> Betreff:      Re: NoClassDefFound Error
>
> HI Deepak,
> This is basically because, it is not able find the
> package and this package is not one of the default
> packages of JDK. In order that your application is
> able to see it, you have to create a folder under bin
> directory of the JDK and place all the class files in
> that folder.
> Typically, your folder should be (bin)\com\wrox\util .
> and then set your classpath to the bin directory.
> You should be able to get over your problem.
>
> Venkat Atluri.
> --- Deepak Shrivastava <[EMAIL PROTECTED]>
> wrote:
> > hey gary ,
> > i think you are following the same examples as i am
> > , but when i run the
> > ShoppingCart.java that is when i compile this java
> > class then i get an error
> > that package com.wrox.util.* ; not found.
> >
> > could you pls gothrough the steps again. i made no
> > changes in the classpath
> > ,what do i need to do to run the ShoppingCart.java.
> > so can you tell me how to do
> > that, i have done the following
> >
> > created a HTML class ,it compiles with no erro, but
> > when i run ShoppingCart.java
> > and compile it it gives an error com.wrox.util.* not
> > found ,so what should i do.
> >
> > Thanks for your help
> >
> > Deepak
> >
> >
> ______________________________________________________________________
> _____
> > To unsubscribe, send email to [EMAIL PROTECTED]
> > and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
> >
> http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> >
> http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ______________________________________________________________________
> _____
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to