Issue 17028 - Java detection and symbolic links -> two JREs offered
Summary: Java detection and symbolic links -> two JREs offered
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: Sun Solaris
: P4 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: pavel
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 15:33 UTC by pavel
Modified: 2005-01-17 13:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Java in /usr/j2se (10.69 KB, image/png)
2003-07-17 15:35 UTC, pavel
no flags Details
Java in /usr/java (symbolic link to j2se) (10.66 KB, image/png)
2003-07-17 15:40 UTC, pavel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2003-07-17 15:33:38 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?
Comment 1 pavel 2003-07-17 15:35:37 UTC
Created attachment 7806 [details]
Java in /usr/j2se
Comment 2 pavel 2003-07-17 15:40:29 UTC
Created attachment 7809 [details]
Java in /usr/java (symbolic link to j2se)
Comment 3 Olaf Felka 2003-07-17 15:41:07 UTC
:-)
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.
Comment 4 joachim.lingner 2003-07-18 07:59:19 UTC
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.
Comment 5 joachim.lingner 2003-07-18 08:00:57 UTC
.
Comment 6 pavel 2003-07-18 08:26:42 UTC
I agree. OK.

Both locations should be shown.
Comment 7 Martin Hollmichel 2005-01-17 13:35:15 UTC
close issue.