List Info

Thread: OpenOffice 2 Add-ins require Java 1.5 --> UnsupportedClassVersionError to blame




OpenOffice 2 Add-ins require Java 1.5 --> UnsupportedClassVersionError to blame
user name
2006-04-19 13:50:27
Tim Tow wrote:
> 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.
> <<
> 
> The only way I could get my addin to work with Java
1.4.2 was to decompile
> the classes produced by javamaker, copy the code to
java files and include

again, it seems that you do something completely wrong.
"javamaker" 
generates code which is compatible for java 1.4.2 and 1.5.

Are you sure that your IDE doesn't use Java 1.5 to compile
your component?

I have test this scenario several times and it works fine as
expected.

I can offer that you can send me your sources (private
email, even to my 
Sun address Juergen Schmidt if you prefer this way) and i
will check it.

Juergen

> those java files in my distribution (along with
removing the ant calls that
> compiled idl/ran javamaker/etc).   I spent several
hours trying to make
> javamaker work so my compile would be seamless but had
to 'punt' to the
> workaround.
> 
> Tim
> 
> Tim Tow
> Applied OLAP, Inc
> 256.990.0136
> 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
> For additional commands, e-mail: dev-helpapi.openoffice.org
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )