Skip to main content

JRE/JDK for Linux: unnecessary dependency on glibc 2.4

2 replies [Last post]
isenberg
Offline
Joined: 2009-06-29

The JRE/JDK preview releases for Linux 32bit and 64bit depend on glibc 2.4 which is not available on Debian GNU/Linux 4.0 and other distributions used for non-desktop systems.

I don't think Java needs special functions from glibc 2.4 so please use linkage against 2.2 or even older glibc versions.

# ldd jre1.7.0_20090713/lib/amd64/server/libjvm.so

jre1.7.0_20090713/lib/amd64/server/libjvm.so: /lib/libc.so.6: version `GLIBC_2.4' not found (required by jre1.7.0_20090713/lib/amd64/server/libjvm.so)
libm.so.6 => /lib/libm.so.6 (0x00002af6f26f1000)
libdl.so.2 => /lib/libdl.so.2 (0x00002af6f2874000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002af6f2977000)
libc.so.6 => /lib/libc.so.6 (0x00002af6f2a8c000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

Message was edited by: isenberg

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ekeithkw
Offline
Joined: 2008-01-24

This is still a problem with JRE 7 Milestone 12 (build 130). The Linux (32-bit) package won't run on Red Hat 4 because GLIBC can only be updated to 2.3.x (using Red Hat's up2date tool). Red Hat 4 is old but considered a supported OS (by Red Hat) for some years yet.
Are there minimum platform requirements documented for Java 7? Any chance this GLIBC dependency will be removed as was requested?

robilad
Offline
Joined: 2004-05-05

The official Release Engineering builds for JDK 7 moved to Fedora 9 in 2008. See http://mail.openjdk.java.net/pipermail/discuss/2008-October/000927.html for more details.

Dalibor Topic, Java F/OSS Ambassador, Java Products Group, Oracle