Hi. It's a minor bug. I don't know how many (other than me) suffer. I installed dev-java/blackdown-jre-1.4.2.03 which is the current latest stable one. The file /etc/env.d/20java is created, and it has a line: MANPATH=${MANPATH}:/opt/blackdown-jre-1.4.2.03/man This should be: MANPATH=/opt/blackdown-jre-1.4.2.03/man I have not confirmed other JDK's nor JRE's. Anyway, thanks beforehand. For those who're interested, I explain more. It may be more apropriate to attribute this issue to /etc/profile or man program. I set: alias man="man -a" to see manuals of all sections. After I installed blackdown-jre, my MANPATH is something like: MANPATH=path1:path2::path3 Notice two colons in row. When I do 'man foovar', I receive the message: Man page /var/cache/man/cat1/foovar.1.bz2 is identical to /var/cache/man/cat1/foovar.1.bz2 and the manual page of foovar is printed twice. It was a headache.
I'm not seeing the problem in the env.d files. Could you: * try re-merging blackdown-jre * run java-config to set the system vm again
I re-emerged blackdown-jre-1.4.2.03, and /etc/env.d/20java was overwritten, again presenting the problem. I modified it, and ran: $ java-config --set-system-vm=blackdown-jre-1.4.2.03 The file 20java is re-written again. So java-config triggers it. Some info: 1. Only JDK/JRE I have is the blackdown-jre-1.4.2.03. 2. java-config-1.2.11-r1 is used. (Only this one is available currently.) 3. python-2.3.5-r2 4. x86 If I have failed to report the problem exactly, sorry. Anyway, thank you, nichoj.
*** This bug has been marked as a duplicate of bug 151622 ***