Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287153 - dev-java/ant-1.7.1 wants the old java 1.4, which can't be found...
Summary: dev-java/ant-1.7.1 wants the old java 1.4, which can't be found...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 20:27 UTC by Karlis.Repsons
Modified: 2009-10-08 15:17 UTC (History)
0 users

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 Karlis.Repsons 2009-09-30 20:27:22 UTC
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
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-10-03 21:10:58 UTC
please use emerge -t to see what exactly pulls java 1.4
also try USE=java5
Comment 2 Karlis.Repsons 2009-10-06 18:26:50 UTC
(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...
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-10-06 19:43:42 UTC
(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.

Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-10-08 15:17:13 UTC
Please reopen if that didn't help.