Closed GoogleCodeExporter closed 8 years ago
Original comment by mirko.na...@gmail.com
on 15 May 2010 at 11:13
The proposed fix assumes that the 64bit Windows is running a 32bit copy of OO.
I think it would be better to try for a 64bit version first, falling back to
32bit if that does not exist:
if (PlatformUtils.isWindows()) {
- return new File(System.getenv("ProgramFiles"), "OpenOffice.org 3");
+ File officeHome = new File(System.getenv("ProgramFiles"),
"OpenOffice.org 3");
+ if (!officeHome.exists() && (null !=
System.getenv("ProgramFiles(x86)"))) {
+ officeHome = new File(System.getenv("ProgramFiles(x86)"),
"OpenOffice.org 3");
+ }
+ return officeHome;
} else if (PlatformUtils.isMac()) {
return new File("/Applications/OpenOffice.org.app/Contents");
} else {
Original comment by yay...@spudsoft.co.uk
on 11 Oct 2010 at 11:23
This was fixed by rev204, I suppose?
Original comment by benjamin...@uni-siegen.de
on 16 Aug 2011 at 7:42
Yep this was actually fixed as part of issue #83
Original comment by mirko.na...@gmail.com
on 22 Aug 2011 at 8:17
Original issue reported on code.google.com by
hutchiko@gmail.com
on 26 Mar 2010 at 6:01