Re: Win98 SE - java.lang.NoClassDefFoundError

Ken,

this is a Java-related problem and editing isaviz.cfg is not going to 
change anything (this file only holds user preferences).

The problem is that your JVM does not find class org.w3c.IsaViz.Editor 
which should be in the JAR archive called isaviz.jar
This is the first time this problem is reported.

 From the content of your coomand line, everything seems to be fine.
Can you give me the output of the following command, run from the isaviz 
directory:  "java -version"


And also, can you list the content (with details like file sizes) of the 
IsaViz/lib/ directory?


What you could try is to put full paths in your classpath (e.g. 
C:\apps\IsaViz\lib\isaviz.jar;C:\apps\IsaViz\lib\vtm.jar;....)

If this does not work, you could also set an environment variable called 
CLASSPATH holding the same value, and then call "java 
org.w3c.IsaViz.Editor"  directly.


Emmanuel



Ken Cotterill wrote:


> Output from run.bat (between hashes):
> 
> ###############################
> 
> C:\apps\IsaViz>java -classpath 
> lib\isaviz.jar;lib\vtm.jar;lib\xerces.jar;lib\jena.jar org.w3c.IsaViz.Editor
> 
>  
> 
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/w3c/IsaViz/Editor
> 
> ###############################
> 
>  
> 
> Binary files unpacked from: isaviz-bin-1_0.zip
> 
> Platform: Win98 SE
> 
> JRE: 1.4.0
> 
> PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\J2SDK1.4.0\BIN
> 
> Before running I unpacked "graphviz1.8.2.zip" into 
> "C:\apps\IsaViz\GraphViz".
> 
>  
> 
> I did try directly editing the XML in "isaviz.cfg":
> 
> - added an xml:lang="en" to the root element
> 
> - put in correct GraphViz pathnames
> 
> - changed the browser path to Mozilla (current system default)
> 
> I reran "run.bat" after each change/addition - the error message 
> remained the same each time.
> 
>  
> 
> I have virtually no knowledge of Java and I'm unsure what other 
> information might be helpful. I'll happily forward anything considered 
> useful on request.
> 
>  
> 
> If this is a bug and a fix/patch needs testing, I'll be happy to do that 
> also.
> 
>  
> 
> Regards,
> 
>  
> 
>  
> 
> Ken Cotterill.
> 
>  
> 
> Email: ken@me.com.au <mailto:ken@me.com.au>
> Web: http://ken.me.com.au/
> 


-- 
emmanuel.pietriga@xrce.xerox.com |  Xerox Research Centre Europe
Contextual Computing             |  6, Chemin de Maupertuis
tel: +33 4 76 61 50 32           |  38240 Meylan, France
fax: +33 4 76 61 50 99           |  http://www.xrce.xerox.com

Received on Tuesday, 19 March 2002 05:06:13 UTC