TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG-DEVEL:117] script



no it wasn't, i changed it and it runs now, or kind of. It cannot find my mysql driver. am i setting it right in the CLASSPATH? Thanks.Perry Hoekstra wrote:
Erick Stohr wrote:
>
> I cannot get this script to run. I am exporting all the classpaths
> needed and using full path names, yet I get the
> java.lang.NoClassDefFound error. This is the code, anybody know what I
> am doing wrong? Thanks.
>
> CLASSPATH=/usr/jdk1.2.2/lib/tools.jar:/usr/jdk1.2.2/lib/dt.jar:/usr/tmp/classes/mysql_comp.jar
>
> export CLASSPATH
>
> /usr/jdk1.2.2/bin/java /home/me/java/Select

Without having access to the code, my first question is would be:  Is
your Select class in the package home.me.java? By this I mean:

package home.me.java;

public class Select {
}

--
Perry Hoekstra
Talent Software Services
dutchman@mn.uswest.net

A person who smiles in the face of adversity... probably has a scapegoat

---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-devel-unsubscribe@mn-linux.org
For additional commands, e-mail: tclug-devel-help@mn-linux.org

Perry Hoekstra wrote:

Erick Stohr wrote:
>
> I cannot get this script to run. I am exporting all the classpaths
> needed and using full path names, yet I get the
> java.lang.NoClassDefFound error. This is the code, anybody know what I
> am doing wrong? Thanks.
>
> CLASSPATH=/usr/jdk1.2.2/lib/tools.jar:/usr/jdk1.2.2/lib/dt.jar:/usr/tmp/classes/mysql_comp.jar
>
> export CLASSPATH
>
> /usr/jdk1.2.2/bin/java /home/me/java/Select

Without having access to the code, my first question is would be:  Is
your Select class in the package home.me.java? By this I mean:

package home.me.java;

public class Select {
}

--
Perry Hoekstra
Talent Software Services
dutchman@mn.uswest.net

A person who smiles in the face of adversity... probably has a scapegoat

---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-devel-unsubscribe@mn-linux.org
For additional commands, e-mail: tclug-devel-help@mn-linux.org

-- 

Erick Stohr - PageLab Network, Inc.
mailto:erick@pagelab.net  http://pagelab.net

Your search-to-sale global e-commerce solution!

Toll free 1-800-447-0607
Voice 612-362-9224
Fax 612-362-9227
43 Main Street SE, Suite 228
Minneapolis, Minnesota 55414