Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why does Eclipse pull in Blackdown ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
LazyHeifer
n00b
n00b


Joined: 29 Mar 2005
Posts: 39
Location: NY , USA

PostPosted: Wed Jul 18, 2007 9:14 am    Post subject: Why does Eclipse pull in Blackdown ? Reply with quote

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
View user's profile Send private message
Rob1n
l33t
l33t


Joined: 29 Nov 2003
Posts: 714
Location: Cambridge, UK

PostPosted: Wed Jul 18, 2007 9:39 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Jul 18, 2007 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
LazyHeifer
n00b
n00b


Joined: 29 Mar 2005
Posts: 39
Location: NY , USA

PostPosted: Thu Jul 19, 2007 1:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Hamsterkill
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2006
Posts: 81

PostPosted: Thu Jul 19, 2007 2:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
jabol
Apprentice
Apprentice


Joined: 05 Oct 2005
Posts: 269

PostPosted: Thu Jul 19, 2007 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
LazyHeifer
n00b
n00b


Joined: 29 Mar 2005
Posts: 39
Location: NY , USA

PostPosted: Thu Jul 19, 2007 11:35 pm    Post subject: Reply with quote

Looks like this has been brought up before ..

https://bugs.gentoo.org/show_bug.cgi?id=151464
Back to top
View user's profile Send private message
alistair
Retired Dev
Retired Dev


Joined: 15 Jul 2005
Posts: 869

PostPosted: Thu Jul 19, 2007 11:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
LazyHeifer
n00b
n00b


Joined: 29 Mar 2005
Posts: 39
Location: NY , USA

PostPosted: Fri Jul 20, 2007 1:06 am    Post subject: Reply with quote

Thanks Dev :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum