Tobias Krais wrote:
Hi Jürgen,

My problem: I want to register a little UNO package at OOo, using
unopkg. It does not matter which Java compiler I use for compiling my
package. If I want to register my ready built package I can't use the
Free Software Foundation 1.4.2 Java (all others I tested will work). If
I use the FSF 1.4.2 Java and try to enable my UNO Package using the
command "/usr/lib/openoffice/program/unopkg gui" I get following error:

[...]

can you be more concrete ...
- which Java version was used to compile your package
 > - which other Java versions did have tested

I used Sun Java 1.5.0_06 from Debian Sid non-free for compiling. It doesn't matter which -source and -target flags I used (tried it with 1.1, 1.2, 1.3, 1.4). I also used the Blackdown Java 1.4.2.03-1 and the FSF GCJ 1.4.2.

I tested _every_ combination of these JDKs that means I e.g. compiled it with Sun Java while OOo used Sun Java -> it works; I tried compiling with each of these Javas, but only the FSF GCJ Java did not succeed with adding the UNO package.

mmh, it's obviously that you have to use Java 1.5 in the office when you compile your component with Java 1.5. For all combinations where you use 1.5 for compiling and a smaller version in the office i would expect that it won't work because the incompatible class file format in Java 1.5. I personally use only Sun Java packages ;-) and can't say anything about the FSF GCJ but i will give it a try when i find some time to test it.

Juergen



Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to