May be due to missing def of your class path.
Check to see if you have a CLASSPATH env var defined.

--elhaddi
Constant Data. 
www.constantdata.com

On Sun, 9 Oct 2005, Raymond Norton wrote:

> 
> > Run a 'which java' command to see exactly what java are you running,
> > followed by 'java -version'.
> >
> > I suspect you did not get the SUN jdk but the GNU java.
> 
> 
> [root at blh ~]# which java
> /usr/bin/java
> [root at blh ~]# java -version
> java version "1.4.2"
> gcj (GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.1)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>