LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2003, 08:21 AM   #1
escordeiro
Member
 
Registered: Sep 2003
Location: Belo Horizonte - Brazil
Distribution: Ubuntu 6.10 (and lovin' it)
Posts: 39

Rep: Reputation: 15
Problem with J2SDK and glibc


Hi everyone

I am a complete newbie in Linux, just trying to get started into it so that I can finally get rid of *that* OS...

I was trying to install the J2SDK version 1.4.2_01, when RPM notified me that I needed glibc version 2.1.2-11 or greater...the problem is I already seem to have glibc 2.2.4 installed, and when I try to install this 2.1.2-11 the package manager closes and I get an error code...


If anyone could help me out in installing the J2SDK and the packages it depends on, I would be very thankful...

regards
 
Old 09-20-2003, 08:37 AM   #2
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
First of all: For a JDK, i'd always choose a .tar.gz package instead of a .rpm one. Why ? Because it will only install a directory tree which you can erase and replace by another, so you should bother about dependencies.
BUT, looks like you're installing Sun,'s one instead of Blackdown's (or viceversa). Please read:

There are 4 java JRE you can/should use with linux: (these apply to J2SDK also.)

- 1.3.1_01 and 1.4.1_01 from java.sun.com
- 1.3.1_01 and 1.4.1_01 from www.blackdown.org

They are built with different tools, so, you should try these four, because based on which linux distro you use, your "glibc" is different, and the JRE's depend directly on those "glibc" and tools (gcc- compiler).

I.e.: For Mandrake 9.1 and RedHat 7.3, I use 1.4.1_01 from www.blackdown.org, but I think RedHat 8 uses the one from Sun (don't remember...)
 
Old 09-20-2003, 08:47 AM   #3
escordeiro
Member
 
Registered: Sep 2003
Location: Belo Horizonte - Brazil
Distribution: Ubuntu 6.10 (and lovin' it)
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks a lot for the help =]

I'll try to get one that doesn't need a full package installation as you suggested, but I would like to know what is the difference between the SDK implementations you've mentioned.

Thanks again
 
Old 09-20-2003, 08:55 AM   #4
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
The diffenreces are on the glibc which they are "linked against" and the C compiler version (gcc) used to build them (2.95 vs 3)

Please note blackdown is fully recognized by Sun guys.
 
Old 09-20-2003, 09:20 AM   #5
escordeiro
Member
 
Registered: Sep 2003
Location: Belo Horizonte - Brazil
Distribution: Ubuntu 6.10 (and lovin' it)
Posts: 39

Original Poster
Rep: Reputation: 15
That's what I wanted to know...thank you very much
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 04:22 PM
j2sdk path problem alexliu56 Linux - Newbie 0 07-08-2004 02:55 AM
Problem: SuSE 9.0, J2SDK 1.4.2_4, Jakarta Tomcat 5.0.19 jsokko Linux - Distributions 3 03-29-2004 02:35 PM
J2sdk problem Javac command not found CollestonPie13 Linux - Software 3 02-15-2004 12:30 PM
J2SDK install problem on Mandrake 9.1 gervin Linux - Newbie 5 01-06-2004 10:00 PM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration