Bug ID 1221361
Summary /etc/profile.d/alljava.csh sets JAVA_HOME incorrectly
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.5
Hardware x86-64
OS openSUSE Leap 15.5
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee screening-team-bugs@suse.de
Reporter pkeller@globalphasing.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

/etc/profile.d/alljava.csh contains the following assignment:

   setenv JAVA_HOME $ALTERNATIVES_JAVAC_LINK:h:h
   setenv JAVA_HOME $JAVA_HOME/bin

This is clearly incorrect, and makes some Java applications fail to start.
Looking at the corresponding Bourne-shell file for comparison, the second of
these two assignments is obviously intended to be:

   setenv JAVA_BINDIR $JAVA_HOME/bin


You are receiving this mail because: