LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with J2SDK and glibc (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-j2sdk-and-glibc-94794/)

escordeiro 09-20-2003 07:21 AM

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

pablob 09-20-2003 07:37 AM

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...)

escordeiro 09-20-2003 07:47 AM

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

pablob 09-20-2003 07:55 AM

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.

escordeiro 09-20-2003 08:20 AM

That's what I wanted to know...thank you very much


All times are GMT -5. The time now is 10:43 AM.