Summary: | emerge system with "java" in USE results both blacktown JRE and JDK being emerged | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Wolfe <mwolfe> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED CANTFIX | ||
Severity: | major | CC: | tklauser |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark Wolfe
2004-09-09 02:47:50 UTC
I think actually this isn't a bug. If you specify "java" in your USE flags you may want to use applications written in Java, which of course require the JDK to get compiled. If you only want the JRE, remove "java" from your USE flags and emerge the JRE separately. Ok just a couple of points. 1. Wouldnt it be better to consider a JDK an upgraded JRE therefore only installing one. 2. If that is not possible how about a use flag that said "i want a jdk so hit me!". 3. Just a small associated issue. What if I don't want anything to do with the blacktown JDK and I want the sun one to be used. Do we need a /etc/java.conf to select these options during installation? Just my two cents worth. 1 this is a shortcoming in portage that i believe will be fixed 2&3 if you merge a jdk first(for example sun) it will use that one, and won't depend on any other jdk/jre, you can also achive this by putting it in your virtuals file, a use flag wouldn't be a very elegant solution We can't fix this, we'll need to wait untill portage can handle it, want it doesn't brake anything s/want/and/ |