from emerge: [ebuild NSF ] dev-java/java-sdk-docs-1.4.2 [1.6.0.10] 33,592 kB There is working java 1.6 environment set up, but ant still pulls in virtual/jdk-1.4.2... I wonder, is this ok? I can't even find the old java... Reproducible: Always Steps to Reproduce: 1. emerge ant Actual Results: wants java 1.4 Expected Results: should use emerged java 1.6
please use emerge -t to see what exactly pulls java 1.4 also try USE=java5
(In reply to comment #1) > please use emerge -t to see what exactly pulls java 1.4 > also try USE=java5 > Well, here are the results: in any case this package dev-java/jdbc-postgresql-8.3_p603-r1 wants some older java virtual/jdk-1.5.0 or 1.4 depending on java5 use flag. And if I set java6 use flag, it still uses java5, so problem persists...
(In reply to comment #2) > Well, here are the results: in any case this package > dev-java/jdbc-postgresql-8.3_p603-r1 > wants some older java virtual/jdk-1.5.0 or 1.4 depending on java5 use flag. And > if I set java6 use flag, it still uses java5, so problem persists... Thanks. You currently need to disable java5 flag for dev-java/jdbc-postgresql-8.3_p603-r1 so that java6 flag takes precedence. I'm commiting a fix in CVS for this, so waiting few hours should work too.
Please reopen if that didn't help.