On Mon, Dec 21, 2009 at 3:36 AM, Juergen Schmidt <[email protected]>wrote:

> On 12/21/09 1:43 AM, Fabio A. Miranda wrote:
>
>> Hello,
>>
>>  you should check the used Java version.
>>>
>>> The error says that the extension cannot be instantiated (loaded). In
>>> this case it means probably that the jar can't be loaded.
>>>
>>> Did you use any third party stuff?
>>>
>>>
>> Sounds like Ubuntu comes with OpenJDK "alternative" preinstall, this
>> error is reported using:
>>
>> fa...@catullus:~$ java -version
>> java version "1.6.0_0"
>> OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
>> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
>> fa...@catullus:~$
>>
> i expect that OpenJDK will work also but haven't really tried it.
> You can try it with a Sun JDK/JRE and you can try to build your extension
> on Ubuntu directly and can check if NetBeans uses the same Java.
>
> Juergen
>
>

I have a similar issue.  I developed an extension using Java,
CompPad_0.1.0.1.oxt, using Netbeans in Ubuntu 9.10, OpenOffice 3.1.1, Java
1.6.0_15, which reportedly works correctly on various Linux, Windows and OS
X versions.  But it gives Fabio's error when installing on Ubuntu 9.10
64-bit with same OOO and Java versions.  Unfortunately I do not have a
64-bit machine to test on.

So it may be a 64-bit Ubuntu issue.

Regards,

Toby

Reply via email to