Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Why does eclipse-sdk-3.2.1-r3 require ancient java

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
MadEgg
l33t
l33t
User avatar
Posts: 678
Joined: Thu Jun 06, 2002 7:46 pm
Location: Netherlands

Why does eclipse-sdk-3.2.1-r3 require ancient java

  • Quote

Post by MadEgg » Fri Apr 11, 2008 9:08 am

I just did a sync and and emerge -uDav world. Now emerge want's to do this:

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies                               ... done!
[ebuild  NSF  ] dev-java/sun-jdk-1.4.2.17  USE="X alsa nsplugin -doc -examples -jce -odbc" 35,525 kB
[ebuild  NS   ] virtual/jdk-1.4.2  0 kB
[ebuild     U ] dev-util/eclipse-sdk-3.2.1-r3 [3.2.1-r2] USE="cairo gnome opengl -branding -seamonkey" 67,667 kB

Total: 3 packages (1 upgrade, 2 in new slots), Size of downloads: 103,191 kB
Fetch Restriction: 1 package (1 unsatisfied)

Would you like to merge these packages? [Yes/No] n

Quitting.
Why on earth does it want to install an ancient java JDK on my machine? In the ebuild it says something about forcing 1.4 for building, but why? Eclipse works just fine here being built with 1.6 so why would it need to be built with 1.4.2?
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

Re: Why does eclipse-sdk-3.2.1-r3 require ancient java

  • Quote

Post by CooSee » Fri Apr 11, 2008 12:21 pm

MadEgg wrote:I just did a sync and and emerge -uDav world. Now emerge want's to do this:

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies                               ... done!
[ebuild  NSF  ] dev-java/sun-jdk-1.4.2.17  USE="X alsa nsplugin -doc -examples -jce -odbc" 35,525 kB
[ebuild  NS   ] virtual/jdk-1.4.2  0 kB
[ebuild     U ] dev-util/eclipse-sdk-3.2.1-r3 [3.2.1-r2] USE="cairo gnome opengl -branding -seamonkey" 67,667 kB

Total: 3 packages (1 upgrade, 2 in new slots), Size of downloads: 103,191 kB
Fetch Restriction: 1 package (1 unsatisfied)

Would you like to merge these packages? [Yes/No] n

Quitting.
Why on earth does it want to install an ancient java JDK on my machine? In the ebuild it says something about forcing 1.4 for building, but why? Eclipse works just fine here being built with 1.6 so why would it need to be built with 1.4.2?

add ' java5 ' to your make.conf 8O :!: :wink:

CooSee ' Ya
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Top
jonnevers
Veteran
Veteran
User avatar
Posts: 1594
Joined: Thu Jan 02, 2003 6:59 pm
Location: Gentoo64 land

Re: Why does eclipse-sdk-3.2.1-r3 require ancient java

  • Quote

Post by jonnevers » Fri Apr 11, 2008 12:32 pm

MadEgg wrote:Why on earth does it want to install an ancient java JDK on my machine? In the ebuild it says something about forcing 1.4 for building, but why? Eclipse works just fine here being built with 1.6 so why would it need to be built with 1.4.2?
The "forced" part is because portage can not link directly to propriety binary blobs. If allows you to emerge them but you have to bring the tarball down yourself. This is the case with JDK 1.4.2.

I've been using eclipse-3.2 with JDK 1.5 and it does work fine.

why not just stop using an ancient version of eclispe? 3.3 is the current stable and depends on java5 or higher.
Top
MadEgg
l33t
l33t
User avatar
Posts: 678
Joined: Thu Jun 06, 2002 7:46 pm
Location: Netherlands

Re: Why does eclipse-sdk-3.2.1-r3 require ancient java

  • Quote

Post by MadEgg » Sat Apr 12, 2008 10:18 am

CooSee wrote:
MadEgg wrote:I just did a sync and and emerge -uDav world. Now emerge want's to do this:

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies                               ... done!
[ebuild  NSF  ] dev-java/sun-jdk-1.4.2.17  USE="X alsa nsplugin -doc -examples -jce -odbc" 35,525 kB
[ebuild  NS   ] virtual/jdk-1.4.2  0 kB
[ebuild     U ] dev-util/eclipse-sdk-3.2.1-r3 [3.2.1-r2] USE="cairo gnome opengl -branding -seamonkey" 67,667 kB

Total: 3 packages (1 upgrade, 2 in new slots), Size of downloads: 103,191 kB
Fetch Restriction: 1 package (1 unsatisfied)

Would you like to merge these packages? [Yes/No] n

Quitting.
Why on earth does it want to install an ancient java JDK on my machine? In the ebuild it says something about forcing 1.4 for building, but why? Eclipse works just fine here being built with 1.6 so why would it need to be built with 1.4.2?

add ' java5 ' to your make.conf 8O :!: :wink:

CooSee ' Ya
But as you can see eclipse-sdk does not use a JAVA5 USE-flag, and besides, it worked before. Why would anyone introduce a function to compile eclipse with an ancient Java-version anyway? I mean, Java 1.4.2 is in it's EOL period to october the 30th, so it's a little late to add support for that, don't you think?
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Top
jonnevers
Veteran
Veteran
User avatar
Posts: 1594
Joined: Thu Jan 02, 2003 6:59 pm
Location: Gentoo64 land

  • Quote

Post by jonnevers » Sun Apr 13, 2008 12:21 am

considering how good eclipse's built in software manager is, its worth just getting it from eclipse.org and untarring it into /opt/eclipse or wherever and calling it a day.
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

  • Quote

Post by timeBandit » Sun Apr 13, 2008 3:08 am

jonnevers wrote:considering how good eclipse's built in software manager is, its worth just getting it from eclipse.org and untarring it into /opt/eclipse or wherever and calling it a day.
++
Eclipse is nicely self-contained and its plugin/update manager is too good not to use, but using it will only confuse Portage. So why bother with Portage in the first place? This type of installation is one of the reasons for /opt, after all.
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, [topic=160179]strip[/topic] comments, [topic=515888]mark[/topic] solved, [topic=119906]help[/topic] others.
Top
alistair
Retired Dev
Retired Dev
User avatar
Posts: 869
Joined: Fri Jul 15, 2005 12:53 am

  • Quote

Post by alistair » Mon Apr 14, 2008 5:31 am

timeBandit wrote:
jonnevers wrote:considering how good eclipse's built in software manager is, its worth just getting it from eclipse.org and untarring it into /opt/eclipse or wherever and calling it a day.
++
Eclipse is nicely self-contained and its plugin/update manager is too good not to use, but using it will only confuse Portage. So why bother with Portage in the first place? This type of installation is one of the reasons for /opt, after all.
Seeing that /opt is for system/portage installed binary packages, that statement is incorrect.
______________
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
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

  • Quote

Post by timeBandit » Mon Apr 14, 2008 11:19 am

I beg to differ:
The Linux Filesystem Hierarchy Standard wrote:/opt is reserved for the installation of add-on application software packages.
...
Distributions may install software in /opt, but must not modify or delete software installed by the local system administrator without the assent of the local system administrator.
Portage's use of /opt for binary packages is one valid use, not the only one. Agreed that it's generally preferred to use an ebuild when available, but it's not universally the best option.
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, [topic=160179]strip[/topic] comments, [topic=515888]mark[/topic] solved, [topic=119906]help[/topic] others.
Top
jonnevers
Veteran
Veteran
User avatar
Posts: 1594
Joined: Thu Jan 02, 2003 6:59 pm
Location: Gentoo64 land

  • Quote

Post by jonnevers » Mon Apr 14, 2008 12:22 pm

timeBandit wrote:Portage's use of /opt for binary packages is one valid use, not the only one. Agreed that it's generally preferred to use an ebuild when available, but it's not universally the best option.
welllllll, what the person is saying is that /usr/local is a more traditional place for this sort of thing.

my opinion, is that its a waste of time to even think about. it's my computer, i have root, it's my filesystem, and i prefer /opt for easy access.

i knew someone was going to bring it up... it could be argued that at some point something named 'eclipse' may get installed by portage into /opt/eclipse. <shrugs>
Top
alistair
Retired Dev
Retired Dev
User avatar
Posts: 869
Joined: Fri Jul 15, 2005 12:53 am

  • Quote

Post by alistair » Mon Apr 14, 2008 12:58 pm

jonnevers wrote:
timeBandit wrote:Portage's use of /opt for binary packages is one valid use, not the only one. Agreed that it's generally preferred to use an ebuild when available, but it's not universally the best option.
welllllll, what the person is saying is that /usr/local is a more traditional place for this sort of thing.

my opinion, is that its a waste of time to even think about. it's my computer, i have root, it's my filesystem, and i prefer /opt for easy access.

i knew someone was going to bring it up... it could be argued that at some point something named 'eclipse' may get installed by portage into /opt/eclipse. <shrugs>
Yes it could be argued. and is it that much harder installing into /usr/local than /opt?
______________
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
Top
psdasilva
Apprentice
Apprentice
Posts: 239
Joined: Sat Sep 03, 2005 7:09 pm

  • Quote

Post by psdasilva » Mon Apr 14, 2008 3:55 pm

I tried to add java5 to USE in make.conf, then droped java, changed to java6 and it still wants to install java-1.4.2.17!!!

Anything more to try?

Thanks
Top
alistair
Retired Dev
Retired Dev
User avatar
Posts: 869
Joined: Fri Jul 15, 2005 12:53 am

  • Quote

Post by alistair » Mon Apr 14, 2008 6:53 pm

psdasilva wrote:I tried to add java5 to USE in make.conf, then droped java, changed to java6 and it still wants to install java-1.4.2.17!!!

Anything more to try?

Thanks
more "dev-java/eclipse-sdk ~<arch>" >> /usr/portage/packages.keywords
______________
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
Top
psdasilva
Apprentice
Apprentice
Posts: 239
Joined: Sat Sep 03, 2005 7:09 pm

  • Quote

Post by psdasilva » Tue Apr 15, 2008 1:03 am

alistair wrote:
more "dev-java/eclipse-sdk ~<arch>" >> /usr/portage/packages.keywords
You mean a new version of eclipse? I don't need it to the extent of going to an unstable version.

I built eclipse, unmerged virtual/jdk-1.4.2 and then ran emerge --depclean.

Thanks anyway.
Top
Post Reply

13 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy