Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#5110 - JAVA_HOME env var conflicts between jdk and jre packages
Attached to Project:
Arch Linux
Opened by Matt (v01d) - Tuesday, 25 July 2006, 20:19 GMT
Last edited by Paul Mattal (paul) - Wednesday, 02 August 2006, 05:25 GMT
Opened by Matt (v01d) - Tuesday, 25 July 2006, 20:19 GMT
Last edited by Paul Mattal (paul) - Wednesday, 02 August 2006, 05:25 GMT
|
DetailsThe script /etc/profile.d/jre.sh seems to check for a file called 'j2sdk.sh' when it should look for 'jdk.sh' (this way the handling of JAVA_HOME would be correct). In any case, I don't know if these two packages can coexist.
The contents of jre.sh: export J2REDIR=/opt/java/jre export PATH=$PATH:$J2REDIR/bin export MANPATH=$MANPATH:$J2REDIR/man export CLASSPATH=$CLASSPATH:$J2REDIR/lib if [ ! -f /etc/profile.d/j2sdk.sh ]; then export JAVA_HOME=/opt/java/jre fi That if should look like: if [ ! -f /etc/profile.d/jdk.sh ]; then |
This task depends upon
Closed by Jason Chu (jason)
Wednesday, 02 August 2006, 06:09 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1_5_0_07-2.
Wednesday, 02 August 2006, 06:09 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1_5_0_07-2.