Tim Tow wrote:
OK.. If I had time I would produce a 'top ten' list of the reasons I was
being stupid.. But, there is never enough time to do the things you want
to do.. <BigGrin>
<<
OK.. In trying to compile my add-in and run OpenOffice.org in 1.4.2, I get
the following error when running unopkg (only if Ooo is configured to use
1.4.2):
ERROR: (com.sun.star.uno.RuntimeException) { { Message =
"[jni_uno bridge error] UNO calling Java method writeRegistryInfo: non-UNO
exception occurred: java.lang.UnsupportedClassVersionError:
com/appliedolap/objects/essbase/client/grid/staroffice/util/ComponentsFactor
y (Unsupported major.minor version 49.0)
java stack trace:
java.lang.UnsupportedClassVersionError:
com/appliedolap/objects/essbase/client/grid/staroffice/util/ComponentsFactor
y (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
com.sun.star.comp.loader.RegistrationClassFinder.find(RegistrationClassFinde
r.java:72)
at
com.sun.star.comp.loader.JavaLoader.writeRegistryInfo(JavaLoader.java:438)
", Context = (com.sun.star.uno.XInterface) 0x0 } }
The only thing I can think of is perhaps the javamaker tool is compiling my
idl, which inherits from Xinterface, to .class files in Java 1.5. Could
that be the problem? If so, is there a way to configure javamaker to use a
specified JDK?
javamaker generates class files that work with both 1.4 and 1.5. Again,
I guess your problem is that your component is compiled with 1.5 and can
thus not be loaded by 1.4.
-Stephan
Tim
Tim Tow
Applied OLAP, Inc
256.990.0136
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]