qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qexo-general] Class loader exception


From: Phil Shaw
Subject: [Qexo-general] Class loader exception
Date: Fri, 31 Jan 2003 15:00:47 -0800

I've coded a Java class to invoke Qexo to evaluate
an expression and return a String result.   It works
fine on Windows with JDK 1.3 and on Unix with JDK 1.2.
I.e. I've run it with a good range of queries
and no problems.

But, I have another Java environment with JDK 1.2,
which has a restriction that it only handles 
uncompressed jars.  So, I uncompressed the
kawa-1.6.99.jar file I downloaded, and re-created it
uncompressed.  Normally a routine chore.  I only 
mention it because in that environment I get the
following exception, regardless what query I try:

------------------------------
Unhandled Java Exception: 
java.lang.UnsatisfiedLinkError:
java.lang.ClassLoader.defineClass0
 at java.lang.ClassLoader.defineClass(ClassLoader.java:477)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:427)
 at gnu.bytecode.ArrayClassLoader.loadClass(ArrayClassLoader.java:118)
 at gnu.expr.ModuleExp.evalToClass(ModuleExp.java:118)
 at gnu.expr.ModuleExp.eval(ModuleExp.java:43)
 at gnu.expr.ModuleExp.evalModule(ModuleExp.java:185)

-------------------------------------

I mention the compression consideration (possibly a red herring)
only because it's the only difference I can see between
this environment and the 3 Java environments I've run the
stuff with no problem.

Any ideas would be appreciated.

Phil Shaw




reply via email to

[Prev in Thread] Current Thread [Next in Thread]