Bug 561479

Summary: Broken JRE_HOME variable due to missing underscore in alljava.sh
Product: [openSUSE] openSUSE 11.2 Reporter: Ali O <aliozy>
Component: JavaAssignee: E-mail List <bnc-team-java>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: samman
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ali O 2009-12-07 21:24:45 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-1.1.2 Firefox/3.5.5

In /etc/profile.d/alljava.sh line 20:
export JRE_HOME=/usr/$_libdir/jvm/jre

causes a broken link
JRE_HOME=/usr//jvm/jre
Other programs which use this environment variable fail to start.

I think the correct line should have two underscores:
export JRE_HOME=/usr/$__libdir/jvm/jre


Reproducible: Always
Comment 1 Michal Vyskocil 2009-12-08 09:51:08 UTC
dup of 549395

*** This bug has been marked as a duplicate of bug 549395 ***