View previous topic :: View next topic |
Author |
Message |
LazyHeifer n00b
Joined: 29 Mar 2005 Posts: 39 Location: NY , USA
|
Posted: Wed Jul 18, 2007 9:14 am Post subject: Why does Eclipse pull in Blackdown ? |
|
|
If I already have sun-jdk installed (and working fine) on my system , what is the need for Eclipse-SDK to pull in the Blackdown package?
Shouldn't it search for a compatible Java JVM and skip Blackdown if it finds one? I find it hard to believe that the creators of Eclipse would reccomend the Blackdown jdk over IBM's or Sun's .....
64bit gentoo 2007.0, Desktop Profile. |
|
Back to top |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Wed Jul 18, 2007 9:39 am Post subject: |
|
|
It has a dependency on a 1.4 JDK and the Blackdown and IBM are the only ones not masked on amd64. Not sure whether it's then just getting the (alphabetically) first one it gets to or whether there's an order defined somewhere. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Jul 18, 2007 9:48 am Post subject: |
|
|
Look at the ebuild. It points to virtual/jdk (two versions of jdk), so look in /usr/portage/virtual/jdk/
Blackdown is probably specified first in the deps (and hence the one chosen automatically) because it has a "better" licence. |
|
Back to top |
|
|
LazyHeifer n00b
Joined: 29 Mar 2005 Posts: 39 Location: NY , USA
|
Posted: Thu Jul 19, 2007 1:35 am Post subject: |
|
|
PaulBredbury wrote: | Look at the ebuild. It points to virtual/jdk (two versions of jdk), so look in /usr/portage/virtual/jdk/
Blackdown is probably specified first in the deps (and hence the one chosen automatically) because it has a "better" licence. |
That seems insane.
It would seem that there should be some rudimentary logic existing ... somewhere ...
Can any of the Java devs spread some light on this ?? |
|
Back to top |
|
|
Hamsterkill Tux's lil' helper
Joined: 01 Apr 2006 Posts: 81
|
Posted: Thu Jul 19, 2007 2:00 pm Post subject: |
|
|
I'm not a Gentoo java maintainer, but reading the ebuild it seems like it forcefully needs a 1.4 jdk because the 1.5s don't work for compiling eclipse. |
|
Back to top |
|
|
jabol Apprentice
Joined: 05 Oct 2005 Posts: 269
|
Posted: Thu Jul 19, 2007 7:11 pm Post subject: |
|
|
I really liked the copile once, run everywhere philosophy. And I recently got into trouble running some apps at different versions of jre (sun/ibm/blackdown)... I always though 1.5 can speak 1.4, but I it seem apparently a marketing trick. |
|
Back to top |
|
|
LazyHeifer n00b
Joined: 29 Mar 2005 Posts: 39 Location: NY , USA
|
|
Back to top |
|
|
alistair Retired Dev
Joined: 15 Jul 2005 Posts: 869
|
Posted: Thu Jul 19, 2007 11:56 pm Post subject: |
|
|
Hamsterkill wrote: | I'm not a Gentoo java maintainer, but reading the ebuild it seems like it forcefully needs a 1.4 jdk because the 1.5s don't work for compiling eclipse. |
That is true from my understanding (I seem to remember talk about the next/current upstream release fixing this)
jabol wrote: | I really liked the copile once, run everywhere philosophy. And I recently got into trouble running some apps at different versions of jre (sun/ibm/blackdown)... I always though 1.5 can speak 1.4, but I it seem apparently a marketing trick. |
javac defaults the -source and -target flags to its current version.
Compiling with javac from a jdk-1.5 will result in code that will only run on a >=1.5 vm regardless of whether the code is 1.4 compatable _________________ ______________
Help the gentoo-java project. Visit Gentoo Java Project
what good are admin powers if you don't abuse them for personal gain - mark_alec |
|
Back to top |
|
|
LazyHeifer n00b
Joined: 29 Mar 2005 Posts: 39 Location: NY , USA
|
Posted: Fri Jul 20, 2007 1:06 am Post subject: |
|
|
Thanks Dev |
|
Back to top |
|
|
|