Issue 123475

Summary: "unoinfo java" returns wrong classpath
Product: General Reporter: rony
Component: codeAssignee: hdu <hdu>
Status: CLOSED FIXED QA Contact:
Severity: Major    
Priority: P3 CC: hdu, issues, oliver.brinzing
Version: 4.0.1   
Target Milestone: 4.1.0   
Hardware: All   
OS: Unix, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description rony 2013-10-14 17:49:31 UTC
Running "unoinfo java" on 64-bit Fedora 18, AOO 4.0.1 installed via AOO's rpm and red-hat-menu extensions returns among other the following wrong classpath:

   /opt/openoffice4/program/classes/java/juh.jar

The directory "/java/" does not exist, hence unoinfo should return that particular classpath as:

   /opt/openoffice4/program/classes/juh.jar

---

As a result of this bug Java cannot resolve classes from juh.jar such that among other things one cannot use the bootstrap loader, because its class cannot be loaded.
Comment 1 Ariel Constenla-Haile 2013-10-14 18:16:47 UTC
Introduced in Revision 1490609
Comment 2 Oliver Brinzing 2013-10-15 11:36:47 UTC
seems to work on win7 64bit:

>unoinfo java
1C:\Program Files (x86)\OpenOffice.org 4.0.1\program\  C:\Program Files (x86)\OpenOffice.org 4.0.1\program\classes\unoil.jar  C:\Program Files (x86)\OpenOffice.org 4.0.1\program\classes\ridl.jar  C:\Program Files (x86)\OpenOffice.org 4.0.1\program\classes\jurt.jar  C:\Program Files (x86)\OpenOffice.org 4.0.1\program\classes\juh.jar
Comment 3 rony 2014-01-22 19:12:48 UTC
The same bug occurs on MacOSX, AOO versions 4.0.0 and 4.0.1.

Running the current MacOSX snapshot also contains this bug.

As a result I have changed the operating system from "Linux" to "Unix".

As programs depending on unoinfo get the wrong information and as a result are not able to use Java to interface with AOO I think this bug is a "major" one in effect and hence increased the Importance from "normal" to "major", hoping that it will be fixed for 4.1.0.
Comment 4 Oliver-Rainer Wittmann 2014-01-23 09:22:29 UTC
@Jürgen: Please have a look at this issue.
Comment 5 SVN Robot 2014-01-23 09:31:03 UTC
"hdu" committed SVN revision 1560615 into trunk:
#i123475# fix juh.jar path for unoinfo.sh
Comment 6 hdu@apache.org 2014-01-23 09:33:40 UTC
Fixed with the commit above.
Comment 7 hdu@apache.org 2014-04-01 12:28:40 UTC
Closing the resolved issue.