latest java update has broken my install of Libre Office.

Hi all.
Well the subject pretty much says it, I got a notification there was an update to Java, I believe it is java 7 update five. Once I did the update my install
of Libre Office no longer works. As soon as I try to start the program I get the standard windows 7 message about a problem has caused libre office to stop working, Windows will close
the program, blah blah blah. I have tried repairing the install and when that did not do anything I went so far as to remove the whole install and re-
install Libre Office. Still no joy.
I am not sure if this is an accessibility problem or not, I do know that the java update did totally screw my install of access bridge as well and I
had to re-install that too. This is the first time I’ve ever had a java update screw things up this way.
Needless to say I am not a happy camper, I depend on this program to do paperwork for work here at home. Has anyone else had this happen with this java update? I am
running the 32-bit version of windows 7. I have posted this to the accessibility list too but am posting it here in case it is not related to the
accessibility settings and is a general problem.

One user on the accessibility list suggested that I try putting the java 631 version back on the system and see if that solves the problem. I know the java folks don’t recommend you do things like this but I’m frankly willing to if it will get this fixed for now. If anyone has any other ideas on how to fix this or if you need more info just let me know.
Thanks in advance.
Tom

LibreOffice works well on any system without any Java being installed. If it does not start because of anything related to Java, this is a clear bug.
You may have replaced Java while the office was running (thanks to that completely useless "quick-starter"). Does a reboot of the whole system help?

This is how to disable Java in the office suite without:
Find the file ...

C:\Users\<user_name>\AppData\Roaming\LibreOffice\3\user\config\javasettings.xml

... and load it into a text edior.
Change this line...

<enabled xsi:nil="false">true</enabled>

... to ...

<enabled xsi:nil="false">false</enabled>

... and start the office.

I had the same problem here, running jre 7 on XP and installing the newest LibreOffice.
The problem was fixed by removing javasettings_Windows_x86.xml (I actually just renamed it to javasettings_Windows_x86.xm0) and then when I started LibreOffice a new and correct version was created. The old xml file contained info about the jre6, which was not there any longer.
Apparently LO 3.5.4.2 didn't detect the correct Java version when upgrading from LO 3.4.xx.
That xml file was located inside \LibreOffice\3\user\config\ inside the <user>\AppData folder

Hi Andreas,

Unfortunately I do have to use java because the accessibility functionality of libre office depends on it, so disabling java is not an option. Thank you for the suggestion though as it might be useful to those who don't have to run java.

Best regards,

Tom

Thank you very much for this, this has at least fixed it so L.O. will at least start up again so that is half the battle. I am still going to have to install java 631 once I actually find it because L.O. definitely does not like this java 7 update. If I try to enable accessibility it says that this JRE is defective. Fortunately I may have the old installer laying around somewhere.

Thanks again.

Tom

Tom,

Activating a Java Runtime Environment in LibreOffice 3.5.4 took a little
while to complete its initial load following upgrade, but the JRE 1.7
update 5 does function correctly with JAB 2.02 installed with LibreOffice
3.5.4 on 64-bit Windows 7. So, not a problem with the LibreOffice
Accesibility and the Assistive technology tools.

Installation of the updates (32bit and 64bit versions from java.com) did
not corrupt my LibreOffice user profile, and JAB 2.0.2 was not affected. The
NVDA screen reader continues to work correctly with LibreOffice.

So, the JRE installer is not the problem, and that leaves LibreOffice user
profile configuration issues.

I suspect you were just unluky this time round with the Java update
misconfiguring some component of your profile.

I beleive Bjørn's guidance to delete or to rename the
*javasettings_Windows_x86.xml* file is the correct way to clear the issue
by allowing your user profile to rebuild.

Or you could completely remove your LibreOffice user profile and allow it to
be rebuilt with defaults.

The full profile is the folder located at *C:\Users\<your user

\AppData\Roaming\LibreOffice\3\user* which can be renamed.

Stuart

A bug report is already filed with the number 50863. However, no further
status is given.

Regards

Michael

------- 原始郵件 -------
主旨: Re: [libreoffice-users] latest java update has broken my install
ofLibre Office.
從: Tom Randall <kf6ddt@comcast.net>
到: users@global.libreoffice.org
日期: Mon, 25 Jun 2012 20:20:19 -0700

Hi Stuart.

It seems that some people are having this problem and others are not. That is strange. I have tried both your suggestion of renaming my profile folder and Bjørn's suggestion of renaming that settings file. In both cases it still says that the JRE is defective when I try to enable accessibility tools. So I am still stuck.

Best regards,

Tom

Hi :slight_smile:
It might be worth adding extra comments to the bug report, such as which system it does work on and which it doesn't.

If the devs are able to narrow-down the problem then it might be easier for them to fix. 
Regards from
Tom :slight_smile:

Hi :slight_smile:
I think this is the way forwards.  We used to keep older versions of java back in the LO 3.3.x line because any version of java more recent than about 4 versions old seemed to break LO.  We stopped doing that because various users complained that older java meant more vulnerable and there were also some concerns about copyright.  If anyone is able to get the right version of 6_31 to you then let us know but just don't tell us who.
Regards from
Tom :slight_smile:

So, I'm not the only one that got eaten by the java monster.
Specifically I tried enabling accessibility too and the archives of this
list have a few messages to that effect as well. I think the proper
term for that is vindication.

Tom,

Java based programs on a Windows OS are frustratingly unstable when multiple
Java Runtime Environments are present because of the way program
configurations are pointed to the version of Java to call--registry entries,
user environment variables, system environment variables.

For stability, run with just one JRE--but don't allow it to update until
convenient for you to monitor changes.

You could jump in and immediately uninstall all things Java based (NVDA,
Dolphin, JAB) and LibreOffice--and clean the registry. And then reinstall
everything so configuration files are correct.

But one simple option for additional troubleshooting would be to create a
new user account on the computer. Login to it--and test your Java
components. If JAB based utilities run, then check them in LibreOffice. And
if while using the new account, JAB based programs fail (and they may), you
probably will need to uninstall and reinstall. But if all is good for the
new user account, the problem *is* configuration issue for you normal
account, and you will need to dig into your Windows user profile.

An uninstall, reinstall will fix either case but is tedious and error prone
-- so use an uninstaller ( I prefer the VSRevo products with moderate
registry clean-up, the free version is fine for 32-bit, but would need the
Pro for 64-bit--has a modest license fee to use beyond trial period -- find
them here:

freeware 32-bit only --
http://www.revouninstaller.com/start_freeware_download.html
pro version 32/64 -bit trial --
http://www.revouninstaller.com/download-professional-version.php )

Then reload these Windows programs in order:
JRE 1.7u5 (this would now be the ONLY Java runtime on the system, with fresh
configuration laid down)
Java Access Bridge (use Jamal Mazrui's JWin installer from
http://empowermentzone.com/JWin.htm )
Dolphin or NVDA (or both) (test that they're working)
LibreOffice 3.5.4 (select the JRE, and activate Accessibility -- assistive
technology tools)

Obviously once Dolphin or NVDA come off you are likely to need some sighted
assistance with the interface, but it should be brief and by running through
the clean up this way--you will be more likely to have a stable and fully
functioning system as an outcome.

Stuart

Hi Stuart, thanks for this info this gives me some options to look at.

I do not routinely have sighted assistance around to do this kind of thing so completely losing my screen reader is not really an option at this point however I can definitely look into some of these things later on, for instance I will set up a test account and see how it goes probably later on today when I get home from work.

Thanks.

Tom

Hi all.

Ok well I have done as complete an uninstall and registry cleaning as I can reasonably do at this point. After uninstalling all java related things including L.O. I cleaned the registry and there were in fact some errors that were corrected. So I then re-installed the programs in the order that Stuart suggested. However, when I run L.O. and try to enable accessibility I get this error message.

LibreOffice requires a Java runtime environment (JRE) to perform this task. The selected JRE
is defective. Please select another version or install a new JRE and select it under Tools -
Options - LibreOffice - Java.
OK

So, this is where I am at this point. I hope to hell somebody figures out what is going on with this since I am apparently not the only person having this problem. Fortunately my Mac version of L.O. is still working so I can use it to actually get work done because I cannot afford to keep frakking around with this all week.

I'm done ranting for now, I do appreciate you guys trying to help out and I am sure we will get this figured out eventually.

Best regards,

Tom

Tom,

But the Java Access Bridge, v 2.02 did load against JRE 1.7u5--correct? Are you back up with your NVDA, and or Dolphin screen reader?

Did you delete (or rename) your LibreOffice user profile following the uninstall prior to launching LibreOffice after reload? That would be the entire C:\Users\<your user name>\AppData\Roaming\LibreOffice folder.

Any difference working with a newly created user account?

Stuart

The code paths backwards from the inferior jre message and the jre is
defective message will have to be searched as well as searching forwards
from enable accessibility that is after that button gets hit and the save
is executed all the way to their conclusions. It's almost certain there
are undesireable path crossings in the code that need locating and
correcting and until all of those have been corrected, assistive
technology for this product and its openoffice alternative can safely be
considered broken.

Hi Stuart.

Yeah I've done all those things except creating the scratch account which I do intend to try later today even though I don't expect it to solve anything. And yes the Dolphin product is working fine with everything else. Just a note I have never gotten nvda to work with L.O. even back when everything was fine and supernova was working great with it.

Thanks and like I said before I do appreciate your suggestions.

Tom

Michael,

Have marked your File --> Send Java Bug
https://bugs.freedesktop.org/show_bug.cgi?id=50863 50863 as duplicate of
https://bugs.freedesktop.org/show_bug.cgi?id=50371 50371 .

It is probably related to the JRE problems folks are having with the Java
Access Bridge based Accessibility features.
But the JRE 1.7 misconfiguration issues are really only affecting Windows
users (32-bit and 64-bit) the problems are with Windows unique configruation
issues with the LibreOffice build and in JRE configuration under Windows
(registry, system environment, user environment).

More activity on the earlier 50371 report, and I have added the primary
Windows build maintainer to the Bug.

Stuart

------- 原始郵件 -------
主旨: [libreoffice-users] Re: latest java update has broken my install
ofLibre Office.
從: V Stuart Foote <VStuart.Foote@utsa.edu>
到: users@global.libreoffice.org
日期: Wed, 27 Jun 2012 07:51:33 -0700 (pdt)

Michael,

Have marked your File --> Send Java Bug
https://bugs.freedesktop.org/show_bug.cgi?id=50863 50863 as duplicate of
https://bugs.freedesktop.org/show_bug.cgi?id=50371 50371 .

It is probably related to the JRE problems folks are having with the Java
Access Bridge based Accessibility features.
But the JRE 1.7 misconfiguration issues are really only affecting Windows
users (32-bit and 64-bit) the problems are with Windows unique configruation
issues with the LibreOffice build and in JRE configuration under Windows
(registry, system environment, user environment).

More activity on the earlier 50371 report, and I have added the primary
Windows build maintainer to the Bug.

Stuart

--
View this message in context: http://nabble.documentfoundation.org/latest-java-update-has-broken-my-install-of-Libre-Office-tp3992173p3992534.html
Sent from the Users mailing list archive at Nabble.com.

Hi Stuart,

    Thank you for helping to mark the bug 50863 as the duplicate of
50371 and hope the problem can be solved smoothly.

    Regards,

                                Michael