i was recently confused as hell by java-configs' behavior: lv@ayanami lv $ java-config -s sun-jdk-1.5.0_beta2 Config options added to /home/lv/.gentoo directory lv@ayanami lv $ . /etc/profile lv@ayanami lv $ java-config -L [blackdown-jdk-1.4.2_rc1] "Blackdown JDK 1.4.2_rc1" (/etc/env.d/java/20blackdown-jdk-1.4.2_rc1) * [sun-jdk-1.5.0_beta2] "Sun JDK 1.5.0_beta2" (/etc/env.d/java/20sun-jdk-1.5.0_beta2) apparently i need to know ~/.gentoo/java* exists and that it needs to be sourced. icky.
Added better info about this. Should probably consider making it part of the skel shell files, but that's a different problem.
Latest releases of java-config tell you to source these files in your shell profile.