Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148196 - JAVA_HOME not set properly in zsh
Summary: JAVA_HOME not set properly in zsh
Status: RESOLVED DUPLICATE of bug 19924
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-19 07:31 UTC by Ryan
Modified: 2008-05-07 08:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan 2006-09-19 07:31:49 UTC
in /etc/profile, there this code

for sh in /etc/profile.d/*.sh ; do
   if [ -r "$sh" ] ; then
      . "$sh"
   fi
done
unset sh

/etc/zsh/zprofile does not have this.  Thereforce my java vm was being set by the old way in env.d directory.  This was preventing me from using java 1.5.  I check the zprofile in the zsh files dir, and this code is not in there.

I think it might need to be added, I read through the docs and didn't see anything about messing with the shell's profile.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-19 08:30:22 UTC

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