You are viewing a plain text version of this content. The canonical link for it is here.
Posted to api@openoffice.apache.org by CompleteGP Clinical Software <cb...@completegp.ie> on 2012/10/16 12:31:20 UTC

could not create implementation loader (Again) and Again

Hello,
       I am a developer of a very very simple Extension for OpenOffice for Windows. It is written in Java and its only purpose is to load and execute a 'C' DLL and call it when the user selects the Tools Menu item. It uses mainly sample code to register itself and to enable/disable a command.

	It installs correctly on all systems except one. And I can't figure out why. The "Use a Java runtime environment" is ticked the correct JRE installed and selected. I have de-installed both OpenOffice 3.4 and the JRE, removed the user's Roaming settings reinstalled and it still fails to initialize the Extension with the error "could not create implementation loader". The same install programs were used on other machines is the users office and they all work correctly.

	I can only remote into the PC at odd hours so don't have full access to do what I want.

	Are there any suggestions, Debug statements I can put in, turn on? Other avenues to research? I am at my wits end. Is there any better error message that can be produced by OpenOffice?

Thanks,

Carl Beame



Re: could not create implementation loader (Again) and Again

Posted by Daniel Naber <na...@danielnaber.de>.
On 16.10.2012, 11:31:20 CompleteGP Clinical Software wrote:

> I have de-installed both OpenOffice 3.4 and the JRE, removed the user's
> Roaming settings reinstalled and it still fails to initialize the
> Extension with the error "could not create implementation loader".

Have you tried these suggestions?
http://www.zotero.org/support/word_processor_plugin_troubleshooting#could_not_create_java_implementation_loader

One of our (LanguageTool) users had the same error ("could not create java 
implementation loader") and one of those suggestions finally helped.

Regards
 Daniel

-- 
http://www.danielnaber.de


Re: could not create implementation loader (Again) and Again

Posted by Ariel Constenla-Haile <ar...@apache.org>.
On Tue, Oct 16, 2012 at 01:22:51PM +0100, CompleteGP Clinical Software wrote:
> >> It's built with MS Visual C++ 2010 but it does not include its
> >> redistribuable, so you have to install it on your own.
> 
> If you are referring to the DLL being loaded, it is written in VC6 with the
> runtime installed. If I delete the DLL being loaded from the a working
> system and remove and reinstall the Extension, the install works, so it is
> not anything to do with the loaded C Dll. The DLL is only load when the
> command is executed AND a Global Atom exists indicating that another program
> is running.

No, I was talking about the JVM library that comes with the JRE 7, but
as you use Java 6, this isn't the case.

> >>
> >> Did you check that Java is working at all on that machine? Do the
> >> wizards, the Java macros  work?
> 
> Yes, Java seems to work.
> 
> >only guessing 32 versus 64 bit problem?
> 
> The machine is a 32-bit OS (2 GB Memory) and the installed JRE is 32-bit.
> 
> >
> >trying java -d32 option when running the app
> >
> 
> I will try this the next time I have access.

There are two unconfirmed issues:
https://issues.apache.org/ooo/show_bug.cgi?id=118346
https://issues.apache.org/ooo/show_bug.cgi?id=120254

your issue looks like bug 120254: Win 32 bits, Java 6 32 bits, the
wizards working, but that error installing extensions. "Unconfirmed"
means only the reporter could reproduce it, though it could be a real
issue, like the Java 7 issue turned out to be.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: could not create implementation loader (Again) and Again

Posted by CompleteGP Clinical Software <cb...@completegp.ie>.
On Tue Oct 16 12:49:50 2012, in <50...@gmail.com>, Jürgen Schmidt wrote:
>On 10/16/12 1:16 PM, Ariel Constenla-Haile wrote:
>> I guess the messages could be improved in
>> main/stoc/source/javaloader/javaloader.cxx
>> 
>> The problems seems to be that OpenOffice cannot load the JavaVirtual
>> Machine library. What Java version are you using? There are problems
>> with Java 7, see
>>

Thanks, The Java is 1.6.0_25 which updates to 1.6.0_33 and it fails both
before and after the update.

>> It's built with MS Visual C++ 2010 but it does not include its
>> redistribuable, so you have to install it on your own.

If you are referring to the DLL being loaded, it is written in VC6 with the
runtime installed. If I delete the DLL being loaded from the a working
system and remove and reinstall the Extension, the install works, so it is
not anything to do with the loaded C Dll. The DLL is only load when the
command is executed AND a Global Atom exists indicating that another program
is running.

>> 
>> Did you check that Java is working at all on that machine? Do the
>> wizards, the Java macros  work?

Yes, Java seems to work.

>only guessing 32 versus 64 bit problem?

The machine is a 32-bit OS (2 GB Memory) and the installed JRE is 32-bit.

>
>trying java -d32 option when running the app
>

I will try this the next time I have access.

Thanks,

Carl


Re: could not create implementation loader (Again) and Again

Posted by Jürgen Schmidt <jo...@gmail.com>.
On 10/16/12 1:16 PM, Ariel Constenla-Haile wrote:
> On Tue, Oct 16, 2012 at 11:31:20AM +0100, CompleteGP Clinical Software
> wrote:
>> Hello, I am a developer of a very very simple Extension for OpenOffice
>> for Windows. It is written in Java and its only purpose is to load and
>> execute a 'C' DLL and call it when the user selects the Tools Menu
>> item. It uses mainly sample code to register itself and to
>> enable/disable a command.
>>
>> 	It installs correctly on all systems except one. And I can't figure
>> 	out why. The "Use a Java runtime environment" is ticked the correct
>> 	JRE installed and selected. I have de-installed both OpenOffice 3.4
>> 	and the JRE, removed the user's Roaming settings reinstalled and it
>> 	still fails to initialize the Extension with the error "could not
>> 	create implementation loader". The same install programs were used
>> 	on other machines is the users office and they all work correctly.
>>
>> 	I can only remote into the PC at odd hours so don't have full access
>> 	to do what I want.
>>
>> 	Are there any suggestions, Debug statements I can put in, turn on?
> 
> No, unfortunately it happens in the C++ code, not in your extensions,
> which is not loaded at all.
> 
>> 	Other avenues to research? I am at my wits end. Is there any better
>> 	error message that can be produced by OpenOffice?
> 
> I guess the messages could be improved in
> main/stoc/source/javaloader/javaloader.cxx
> 
> The problems seems to be that OpenOffice cannot load the JavaVirtual
> Machine library. What Java version are you using? There are problems
> with Java 7, see
> http://www.openoffice.org/development/releases/3.4.1.html#AOO3.4.1ReleaseNotes-KnownIssues
> It's built with MS Visual C++ 2010 but it does not include its
> redistribuable, so you have to install it on your own.
> 
> Did you check that Java is working at all on that machine? Do the
> wizards, the Java macros  work?

only guessing 32 versus 64 bit problem?

trying java -d32 option when running the app

Juergen


> 
> 
> 
> Regards
> 


Re: could not create implementation loader (Again) and Again

Posted by Ariel Constenla-Haile <ar...@apache.org>.
On Tue, Oct 16, 2012 at 11:31:20AM +0100, CompleteGP Clinical Software
wrote:
> Hello, I am a developer of a very very simple Extension for OpenOffice
> for Windows. It is written in Java and its only purpose is to load and
> execute a 'C' DLL and call it when the user selects the Tools Menu
> item. It uses mainly sample code to register itself and to
> enable/disable a command.
> 
> 	It installs correctly on all systems except one. And I can't figure
> 	out why. The "Use a Java runtime environment" is ticked the correct
> 	JRE installed and selected. I have de-installed both OpenOffice 3.4
> 	and the JRE, removed the user's Roaming settings reinstalled and it
> 	still fails to initialize the Extension with the error "could not
> 	create implementation loader". The same install programs were used
> 	on other machines is the users office and they all work correctly.
> 
> 	I can only remote into the PC at odd hours so don't have full access
> 	to do what I want.
> 
> 	Are there any suggestions, Debug statements I can put in, turn on?

No, unfortunately it happens in the C++ code, not in your extensions,
which is not loaded at all.

> 	Other avenues to research? I am at my wits end. Is there any better
> 	error message that can be produced by OpenOffice?

I guess the messages could be improved in
main/stoc/source/javaloader/javaloader.cxx

The problems seems to be that OpenOffice cannot load the JavaVirtual
Machine library. What Java version are you using? There are problems
with Java 7, see
http://www.openoffice.org/development/releases/3.4.1.html#AOO3.4.1ReleaseNotes-KnownIssues
It's built with MS Visual C++ 2010 but it does not include its
redistribuable, so you have to install it on your own.

Did you check that Java is working at all on that machine? Do the
wizards, the Java macros  work?



Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina