Re: [libreoffice-users] RE: Libreoffice and Java

2012-09-07 Thread Tanstaafl

On 2012-09-06 11:52 AM, V Stuart Foote  wrote:

Yes, that is correct. Would still be broken if you don't also clean
upthe javasettings .xml configuration file.


This makes no sense.

Is there some reason that the install routine can't automate this?

I just don't see thousands (or millions) of users having to do this 
manually.




From: Tanstaafl [mailto:tansta...@libertytrek.org]
Sent: Thu 9/6/2012 10:21 AM
To: users@global.libreoffice.org
Subject: Re: [libreoffice-users] RE: Libreoffice and Java



Thanks Stuart...

So, if you (like I always do) first uninstall JRE 1.6, then install 1.7
(32bit of course), will it still be broken?







--
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



RE: [libreoffice-users] RE: Libreoffice and Java

2012-09-06 Thread V Stuart Foote
Yes, that is correct. Would still be broken if you don't also clean up the 
javasettings .xml configuration file.
 
Additionally, for folks on a 64-bit build of Windows,  if you install both a 
32-bit and a 64-bit JRE, you need to watch which JRE gets called with 
LibreOffice.  Oracle installers place copies of latest installed executable 
into the C:\Windows\system32 (the 64-bit executables), and also in 
C:\Windows\SysWOW64 (for the 32-bit executables).
 
They are copied from the respective  installation directories of the JREs, but 
with a default installation these executables will be "found" before any other 
instance referred by the PATH environment, so they are the JREs used by 
default--and that can cause problems if not expected (as can issues with 
location of a MS C++ runtime not being present with the Java virtual machine 
libraries).  
 
To convince yourself, leave the C:\Windows copies intact and run a Command 
Window, and then execute "java -version", if you have the 64-bit JRE installed 
and you will see the version labeled as 64-bit build--not the 32-bit. And that 
also seems to causes problems for LibreoOffice which on Windows remains 32-bit.
 
To precisely control which JRE is used, you have to remove the executables from 
the system32 and SysWOW64 directories, and then establish a specific location 
on the PATH for them. Can be anywhere in the PATH environment variable, but for 
security after the Windows OS components. Also by convention you can create a 
JAVA_HOME environment variable and use a "%JAVA_HOME%\bin" reference in the 
PATH.  Very useful (and the norm in Linux) in that you can programmatically 
change the JAVA_HOME variable when you need a different JRE (either the version 
or use of a 64-bit build).
 
Stuart



From: Tanstaafl [mailto:tansta...@libertytrek.org]
Sent: Thu 9/6/2012 10:21 AM
To: users@global.libreoffice.org
Subject: Re: [libreoffice-users] RE: Libreoffice and Java



Thanks Stuart...

So, if you (like I always do) first uninstall JRE 1.6, then install 1.7
(32bit of course), will it still be broken?




-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] RE: Libreoffice and Java

2012-09-06 Thread Tanstaafl

Thanks Stuart...

So, if you (like I always do) first uninstall JRE 1.6, then install 1.7 
(32bit of course), will it still be broken?


On 8/28/2012 12:10 PM, V Stuart Foote  wrote:


Bob McDonald wrote


JRE 1.7 32 bit edition works if (and only if) JRE 1.6 is installed first
and is pointed to in the options.  (you can even uninstall JRE 1.6
afterward...)
Neither of the 64 bit versions work.  (or show up as Java versions in the
options list under LO)



Actually, that is completely wrong and in reality is one of the reasons so
many folks have problems with the transition from JRE 1.6 to JRE 1.7--they
do not clear out the old and incorrect configurations.

Here are extracts of the javasettings_Windows_x86.xml configuration file
with the JRE in use by Libre Office. It is found per-user at
C:\Users\\AppData\Roaming\LibreOffice\3\user\config

For JRE 1.6u34:



Oracle Corporation
file:///C:/Program%20Files%20(x86)/Java/jre6
1.6.0_34
0
0

and of JRE 1.7u6



Oracle Corporation
file:///C:/Program%20Files%20(x86)/Java/jre7
1.7.0_06
0
0

This .XML configuration file is NOT updated when you upgrade your JRE!  It
must be deleted and allowed to rebuild--using your system environment PATH,
or you will end up with non-functional LO Java functions.


--
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] RE: Libreoffice and Java

2012-08-28 Thread Tom Davies
Hi :)
Nicely said!  :)  It's sometimes difficult to hear the way people say things 
when just reading written words!  Normally something like 40% of communication 
is non-verbal or to do with intonation and other obscure clues.  

I think it would be really great if you 2 or even just 1 of you or other people 
could edit the wiki-page
https://wiki.documentfoundation.org/Faq/Java
to make it more useful.  
Regards from
Tom :)  





>
> From: V Stuart Foote 
>To: Bob McDonald ; users@global.libreoffice.org 
>Sent: Tuesday, 28 August 2012, 18:19
>Subject: RE: [libreoffice-users] RE: Libreoffice and Java
> 
>Bob,
>
>Sorry, too shrill on my part. Just because it was incorrect doesn't mean
>it was wrong.
>
>Apologies--and please remain engaged.
>
>Stuart
>
>-Original Message-
>From: Bob McDonald [mailto:bob.mcdon...@pcn-inc.com] 
>Sent: Tuesday, August 28, 2012 11:18 AM
>To: users@global.libreoffice.org
>Subject: RE: [libreoffice-users] RE: Libreoffice and Java
>
>Well that was how it worked for me.  Since it is completely wrong, I'll
>quit posting about it and watch what happens in the future.
>
>Have fun!
>
>Regards,
>
>Bob
>
>
>-- 
>For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
>Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
>Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
>List archive: http://listarchives.libreoffice.org/global/users/
>All messages sent to this list will be publicly archived and cannot be deleted
>
>
>
>
-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] RE: Libreoffice and Java

2012-08-28 Thread Tom Davies
Hi :)
I think the response you got, that you got it completely wrong, was imprecise.  
It is not as simple as java 1.6 vs 1.7.  There are loads of versions of 1.6 and 
then there are issues about precisely which version of your OS and then add in 
which version of LibreOffice.  

Something that did work for 1 person obviously works and probably works for 
quite a lot of people but it might just be a lucky combination of versions.

The whole thing is just such a total mess.
Regards from
Tom :)  






>
> From: Bob McDonald 
>To: "users@global.libreoffice.org"  
>Sent: Tuesday, 28 August 2012, 17:17
>Subject: RE: [libreoffice-users] RE: Libreoffice and Java
> 
>Well that was how it worked for me.  Since it is completely wrong, I'll quit 
>posting about it and watch what happens in the future.
>
>Have fun!
>
>Regards,
>
>Bob
>  
>
>> -Original Message-
>> From: V Stuart Foote [mailto:vstuart.fo...@utsa.edu]
>> Sent: Tuesday, August 28, 2012 12:10 PM
>> To: users@global.libreoffice.org
>> Subject: [libreoffice-users] RE: Libreoffice and Java
>> 
>> 
>> Bob McDonald wrote
>> >
>> > JRE 1.7 32 bit edition works if (and only if) JRE 1.6 is installed first
>> > and is pointed to in the options.  (you can even uninstall JRE 1.6
>> > afterward...)
>> > Neither of the 64 bit versions work.  (or show up as Java versions in the
>> > options list under LO)
>> >
>> 
>> Actually, that is completely wrong and in reality is one of the reasons so
>> many folks have problems with the transition from JRE 1.6 to JRE 1.7--they
>> do not clear out the old and incorrect configurations.
>> 
>> Here are extracts of the javasettings_Windows_x86.xml configuration file
>> with the JRE in use by Libre Office. It is found per-user at
>> C:\Users\\AppData\Roaming\LibreOffice\3\user\config
>> 
>> For JRE 1.6u34:
>> 
>> 
>> 
>> Oracle Corporation
>> file:///C:/Program%20Files%20(x86)/Java/jre6
>> 1.6.0_34
>> 0
>> 0
>> 
>> and of JRE 1.7u6
>> 
>> 
>> 
>> Oracle Corporation
>> file:///C:/Program%20Files%20(x86)/Java/jre7
>> 1.7.0_06
>> 0
>> 0
>> 
>> This .XML configuration file is NOT updated when you upgrade your JRE!  It
>> must be deleted and allowed to rebuild--using your system environment
>> PATH,
>> or you will end up with non-functional LO Java functions.
>> 
>> 
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://nabble.documentfoundation.org/Libreoffice-and-Java-
>> tp4003369p4004059.html
>> Sent from the Users mailing list archive at Nabble.com.
>> 
>> --
>> For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
>> Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-
>> unsubscribe/
>> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
>> List archive: http://listarchives.libreoffice.org/global/users/
>> All messages sent to this list will be publicly archived and cannot be 
>> deleted
>
>
>-- 
>For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
>Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
>Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
>List archive: http://listarchives.libreoffice.org/global/users/
>All messages sent to this list will be publicly archived and cannot be deleted
>
>
>
>
-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



RE: [libreoffice-users] RE: Libreoffice and Java

2012-08-28 Thread V Stuart Foote
Bob,

Sorry, too shrill on my part. Just because it was incorrect doesn't mean
it was wrong.

Apologies--and please remain engaged.

Stuart

-Original Message-
From: Bob McDonald [mailto:bob.mcdon...@pcn-inc.com] 
Sent: Tuesday, August 28, 2012 11:18 AM
To: users@global.libreoffice.org
Subject: RE: [libreoffice-users] RE: Libreoffice and Java

Well that was how it worked for me.  Since it is completely wrong, I'll
quit posting about it and watch what happens in the future.

Have fun!

Regards,

Bob


-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



RE: [libreoffice-users] RE: Libreoffice and Java

2012-08-28 Thread Bob McDonald
Well that was how it worked for me.  Since it is completely wrong, I'll quit 
posting about it and watch what happens in the future.

Have fun!

Regards,

Bob
  

> -Original Message-
> From: V Stuart Foote [mailto:vstuart.fo...@utsa.edu]
> Sent: Tuesday, August 28, 2012 12:10 PM
> To: users@global.libreoffice.org
> Subject: [libreoffice-users] RE: Libreoffice and Java
> 
> 
> Bob McDonald wrote
> >
> > JRE 1.7 32 bit edition works if (and only if) JRE 1.6 is installed first
> > and is pointed to in the options.  (you can even uninstall JRE 1.6
> > afterward...)
> > Neither of the 64 bit versions work.  (or show up as Java versions in the
> > options list under LO)
> >
> 
> Actually, that is completely wrong and in reality is one of the reasons so
> many folks have problems with the transition from JRE 1.6 to JRE 1.7--they
> do not clear out the old and incorrect configurations.
> 
> Here are extracts of the javasettings_Windows_x86.xml configuration file
> with the JRE in use by Libre Office. It is found per-user at
> C:\Users\\AppData\Roaming\LibreOffice\3\user\config
> 
> For JRE 1.6u34:
> 
> 
> 
> Oracle Corporation
> file:///C:/Program%20Files%20(x86)/Java/jre6
> 1.6.0_34
> 0
> 0
> 
> and of JRE 1.7u6
> 
> 
> 
> Oracle Corporation
> file:///C:/Program%20Files%20(x86)/Java/jre7
> 1.7.0_06
> 0
> 0
> 
> This .XML configuration file is NOT updated when you upgrade your JRE!  It
> must be deleted and allowed to rebuild--using your system environment
> PATH,
> or you will end up with non-functional LO Java functions.
> 
> 
> 
> 
> 
> --
> View this message in context:
> http://nabble.documentfoundation.org/Libreoffice-and-Java-
> tp4003369p4004059.html
> Sent from the Users mailing list archive at Nabble.com.
> 
> --
> For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
> Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-
> unsubscribe/
> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
> List archive: http://listarchives.libreoffice.org/global/users/
> All messages sent to this list will be publicly archived and cannot be deleted


-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted