On Wed, 5 Jul 2000, Robert P. Goldman wrote:

> TW> When I try to run Xeena, I get the following error:
> 
> TW> java.lang.NoClassDefFoundError: xeena/sh
> TW>      at java.lang.Throwable.<init>(Throwable.java:38)
> TW>      at java.lang.Error.<init>(Error.java:21)
> TW>      at java.lang.LinkageError.<init>(LinkageEror.java:21)
> TW>      at java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:21)
> 
> TW> I know the program will run with JDK1.1. Anyone have any ideas about what's
> TW> going on?
> 
> I have never tried to run Xeena, but the above looks like a very
> familiar error in setting the CLASSPATH environment variable.  While
> running Xeena, this should almost certainly be set to point at either
> a distribution directory containing the code or, since this is IBM
> code, more likely should contain an absolute path pointing to a .jar
> file that's in the distribution.  

OK, I'm making some progress on this. It turns out that the errors I was
seeting had more to do with how I was running the script that actually
executes the Java code. Now when it looks like I'm doing things properly, I
get:

# ./xeena.sh
using java in [/usr/lib/jdk1.1]
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM
#

Do I need to enable threads somewhere? 

I see on the Debian site that there's a jdk1.1-native-dev that "contains the
native threads (linuxthreads) extensions to the jdk1.0-dev package." Could
this be what I'm missing?

-Tim

BTW, I forgot to include the URL to Xeena in my initial post. You'll find it
at http://www.alphaworks.ibm.com/tech/xeena/  Sorry Ben, no nudies of Lucy
Lawless. :-)

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson at visi.com |   <dtml-var pithy_quote>     | http://linux.com/



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