TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG-DEVEL:117] script
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
- References:
- script
- From: Erick Stohr <erick@pagelab.net>