Apache OpenOffice (AOO) Bugzilla – Issue 17028
Java detection and symbolic links -> two JREs offered
Last modified: 2005-01-17 13:35:15 UTC
Hi, no, this is not I-have-jdk-1.3.1-and-jdk-not-found bug. On my Ultra, I have J2SE in /usr/j2se and /usr/java link to that directory: oo@ultra:/usr> ls -ld java j2se drwxr-xr-x 7 root bin 512 2003-05-17 10:56 j2se lrwxrwxrwx 1 root other 4 2003-05-17 11:18 java -> j2se When installing, this JRE is found as two - one in /usr/j2se and the other one in /usr/java even when java is link to j2se. Shouldn't we check for symbolic links here and not offer same version more than once?
Created attachment 7806 [details] Java in /usr/j2se
Created attachment 7809 [details] Java in /usr/java (symbolic link to j2se)
:-) Hi Joachim, this is someting that might be brushed up for the next version. It's not so horrible that we have to do it for 1.1 and the time frame doesn't fit also. Since it's not clear what might happen in 2.0 we should keep it in mind.
We already discussed this issue internally, because there was another bug to that regard. The outcome was that we will not change the current behaviour of the jvmsetup. One reason is that links are to be used as if they represent the actual file/directory. Another reason is, that a user may deliberately choose a link because she was told so by an administrator. The administrator can then update the link so that it points to a newer Java if one becomes available. One could of course argue that then the linked Java installation should be distinguished in the listbox. If you mean to pursue this issue then please make it an Request for Enhancement. I will then direct the issue to our product management team.
.
I agree. OK. Both locations should be shown.
close issue.