Bug 606247 - /etc/profile.d/alljava.sh contains typo causing incorrect JRE_HOME
Summary: /etc/profile.d/alljava.sh contains typo causing incorrect JRE_HOME
Status: RESOLVED DUPLICATE of bug 549395
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Java (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.2
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 20:16 UTC by M. W.
Modified: 2010-05-17 07:40 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. W. 2010-05-16 20:16:31 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100401 SUSE/3.6.3-1.2 Firefox/3.6.3

In line 21 of /etc/profile.d/alljava.sh the following is defined:
export JRE_HOME=/usr/$_libdir/jvm/jre

This is incorrect. The variable should be $__libdir with two underscore characters.

JRE_HOME is currently incorrectly initialized as a result of this issue. This prevents e.g. Tomcat from starting without manual user intervention.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Michal Vyskocil 2010-05-17 07:40:56 UTC
see https://bugzilla.novell.com/show_bug.cgi?id=549395#c8 for 11.2 fix

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