Issue 120254

Summary: "Could not create Java implementation loader" error
Product: extensions Reporter: impinball
Component: wwwAssignee: issues@extensions <issues>
Status: CLOSED IRREPRODUCIBLE QA Contact:
Severity: Normal    
Priority: P3 CC: arielch, issues
Version: AOO 3.4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
list of attachments that failed to install [1] none

Description impinball 2012-07-11 17:07:00 UTC
A few of the extensions I tried to install, even those that have no comment pertaining to a failed install on the extension website, come up with an error message saying "Could not create Java implementation loader." I tried both opening the .oxt files outside OOo (via OS-native file manager and via Google Chrome) and via the Extension Manager (open it within OOo, click add, select file, click open, etc.). I attached all the extensions I tried (and failed) to add, so that people can find out if it is in the extensions' code or in OOo's. Keep in mind that I have not installed very many extensions (less than 10), which should account for the small number.
Comment 1 impinball 2012-07-11 17:08:25 UTC
Created attachment 78626 [details]
list of attachments that failed to install [1]
Comment 2 impinball 2012-07-11 17:15:05 UTC
Here are the URL's to get the other two (The files are too large to upload). I also tried downloading all of them multiple times with no avail.

http://extensions.services.openoffice.org/en/project/ReadabilityReport
http://extensions.services.openoffice.org/en/project/ooo2gd

URL for the already-attached file:
http://extensions.services.openoffice.org/en/project/eVoice
Comment 3 impinball 2012-07-11 17:41:50 UTC
UPDATE:
I found a comment on the extension page for the Readability Report--still up with same questions, though.
Comment 4 Ariel Constenla-Haile 2012-07-11 18:10:22 UTC
You need a Java Runtime Environment in your system, and need to configure OpenOffice to work with it.

Did you choose a JRE in the dialog from menu "Tools" - "Options...", in the tree on the left. choose "OpenOffice.org" - "Java".

Tested with ooo2gd and the extension can be installed and works fine.
Comment 5 impinball 2012-07-11 19:21:39 UTC
(In reply to comment #4)
> You need a Java Runtime Environment in your system, and need to configure
> OpenOffice to work with it.
> 
> Did you choose a JRE in the dialog from menu "Tools" - "Options...", in the
> tree on the left. choose "OpenOffice.org" - "Java".
> 
> Tested with ooo2gd and the extension can be installed and works fine.

Yes, and I checked that multiple times...that rectified my initial struggles when I first started.
Comment 6 Ariel Constenla-Haile 2012-07-11 21:41:46 UTC
(In reply to comment #5)
> > Did you choose a JRE in the dialog from menu "Tools" - "Options...", in the
> > tree on the left. choose "OpenOffice.org" - "Java".
> > 
> Yes, and I checked that multiple times...that rectified my initial struggles
> when I first started.

Do the Java wizards work? Try with File - Wizards - Letter... | Fax... | Agenda...
Comment 7 impinball 2012-07-13 01:54:16 UTC
File-Wizards-Letter works...which means the rest may work. Any other things that I need to check? I'm going to try to download them again after checking the JRE.
Comment 8 impinball 2012-07-13 01:54:55 UTC
(In reply to comment #7)
> File-Wizards-Letter works...which means the rest may work. Any other things
> that I need to check? I'm going to try to download them again after checking
> the JRE.

Or the ooo2g, specifically
Comment 9 impinball 2012-07-13 02:04:41 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > File-Wizards-Letter works...which means the rest may work. Any other things
> > that I need to check? I'm going to try to download them again after checking
> > the JRE.
> 
> Or the ooo2g, specifically

No avail...
Comment 10 Ariel Constenla-Haile 2012-07-13 12:39:31 UTC
(In reply to comment #7)
> File-Wizards-Letter works...which means the rest may work. Any other things
> that I need to check?

No.

- Select a JRE from the Tools - Options... dialog (some users reported JRE 7 does not work on Windows)
- Restart OpenOffice (including the Quickstart icon)
- If you are able to run any of the Java wizards, it means Java is working with OpenOffice, and you should be able to install Java extensions, like ooo2g


But you are able to run the Wizards, but not installing the extensions, this is quite unusual, and I cannot reproduce it.
Comment 11 impinball 2012-07-13 13:41:55 UTC
Should I replace my "Extensions" source code using downloaded source code from OOo (would that help)?
Comment 12 Ariel Constenla-Haile 2012-07-13 13:53:34 UTC
(In reply to comment #11)
> Should I replace my "Extensions" source code using downloaded source code
> from OOo (would that help)?

What do you mean by my "Extensions"? ooo2g and other extensions are made by third parties, OpenOffice does not provide its own version of these extension.
Comment 13 impinball 2012-07-13 14:03:44 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > Should I replace my "Extensions" source code using downloaded source code
> > from OOo (would that help)?
> 
> What do you mean by my "Extensions"? ooo2g and other extensions are made by
> third parties, OpenOffice does not provide its own version of these
> extension.

When I said the "Extensions" folder, I meant the place where the source code for the extension manager (I originally thought there was a folder for it, in which I have not found one yet). Second thought, where is the source code for it...and also, would replacing the source code of it help anything?
Comment 14 Ariel Constenla-Haile 2012-07-13 14:14:59 UTC
(In reply to comment #13)
> When I said the "Extensions" folder, I meant the place where the source code
> for the extension manager (I originally thought there was a folder for it,
> in which I have not found one yet). Second thought, where is the source code
> for it...and also, would replacing the source code of it help anything?

I see what you meant. You can find the extensions in your user profile directory.
The user profile is usually in C:\Documents and Settings\<your account
name>\Application Data\OpenOffice.org\3\user. It is a hidden folder. You can find the location in the Tools - Options ... dialog, look at the option "Paths"; AutoCorrect path should point you to your user profile.

The extensions are in user\uno_packages

Then you can try renaming the user profile folder user -> user_backup. OpenOffice will regenerate this folder, with new default settings.

This way you can try if the issue is related to your user profile. Once you finish testing, you can restore your old profile back by simply removing the new one and renaming the older user_backup -> user
Comment 15 impinball 2012-07-13 23:24:41 UTC
no avail...any other ideas? I'm seriously thinking about compiling my downloaded extensions into a folder and uninstalling/reinstalling OOo to see if that would fix it.
Comment 16 Ariel Constenla-Haile 2012-07-13 23:41:50 UTC
(In reply to comment #15)
> no avail...any other ideas? I'm seriously thinking about compiling my
> downloaded extensions into a folder and uninstalling/reinstalling OOo to see
> if that would fix it.

No, I'm out of ideas. Just tried on Windows XP 32 bits and Windows 7 64 bits, and it works, with Java 1.7.0u5 32 bits on both cases, I tried 
http://extensions.services.openoffice.org/en/project/ReadabilityReport
http://extensions.services.openoffice.org/en/project/ooo2gd

Which Java version are you using?
Some users report Java 7 does not work with OpenOffice on Windows.
Comment 17 impinball 2012-07-14 20:49:43 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > no avail...any other ideas? I'm seriously thinking about compiling my
> > downloaded extensions into a folder and uninstalling/reinstalling OOo to see
> > if that would fix it.
> 
> No, I'm out of ideas. Just tried on Windows XP 32 bits and Windows 7 64
> bits, and it works, with Java 1.7.0u5 32 bits on both cases, I tried 
> http://extensions.services.openoffice.org/en/project/ReadabilityReport
> http://extensions.services.openoffice.org/en/project/ooo2gd
> 
> Which Java version are you using?
> Some users report Java 7 does not work with OpenOffice on Windows.

6...My big question now is: should I uninstall and re-install OOo?
Comment 18 impinball 2012-07-24 18:05:06 UTC
working to close issue--no posts for a while
Comment 19 impinball 2012-07-24 18:05:23 UTC
working to close issue--no posts for a while