Is this jodConverter code? Have you recompiled+replaced jar after this hacking?
Why do you need this code modificcation? What will happen if you just set office.path in OM->Admin->Configuration? On Thu, Jun 22, 2017 at 4:22 PM, Dhawan, Vaibhav (MIND) < [email protected]> wrote: > Hi, > > > > I have installed higher version of open office . > > > > I have done following changes. > > > > *return* findOfficeHome(programFiles + File.separator + "OpenOffice 4"); > > > > > > Calling method > > *private* *static* File findOfficeHome(String... knownPaths) { > > *for* (String path : knownPaths) { > > File home = *new* File(path); > > *if* (getOfficeExecutable(home).isFile()) { > > *return* home; > > } > > } > > *return* *null*; > > } > > > > > > while debugging knownPaths giving same old values as shown below: > > > > [C:\Program Files (x86)\OpenOffice.org 3, C:\Program Files > (x86)\LibreOffice 3] . > > > > as result while uploading I am facing error. > > > > Kindly tell me necessary changes > > > > Thanks, > > Vaibhav dhawan > > > > > > > > > > ------------------------------ > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you are > not the intended recipient, you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately and destroy all copies of > this message and any attachments. WARNING: Computer viruses can be > transmitted via email. The recipient should check this email and any > attachments for the presence of viruses. The company accepts no liability > for any damage caused by any virus/trojan/worms/malicious code transmitted > by this email. www.motherson.com > -- WBR Maxim aka solomax
