[CentOS] stock openjdk vs. epel
mbaudier at argeo.org
Thu Dec 31 13:43:19 UTC 2009
> Still no java browser plugin for Centos? I've been reading the web
> all night on this, getting angry. I can't find any explanation about
> why EPEL did have a working browser plugin, but then Centos introduced
> versions of those same packages that had the plugin removed. Not to
> mention the fact that Centos keeps the older version (b09) of
> java-1.6.0, and yet yum seems to think it is a newer version.
Java support is indeed problematic as I pointed out in a recent thread
on this list (subject "Recent Java OpenJDK RPMs").
Don't get me wrong, I appreciate that RHEL supports specific certified
Java apps, but as soon as one wants to do more (e.g. developing Java
apps using recent Eclipse versions, see ...), it becomes
Regarding your issue, currently my approach is to build the latest
version locally using the IcedTea build harness:
There is still a problem with the Java plugin on x86_64 though (see
, not happening on i386) and I build the other plugin using the
following configure command (to be adapted with your number of CPUs):
./configure --with-openjdk --with-parallel-jobs=4 --enable-npplugin
However see comments #7 and following of  for possible problems
with this plugin. It works ok for me for what I need (but very
There was not much reaction on . I strongly suspect that this is an
issue with how the x86_64 version of xulrunner is compiled (because of
the -fPIC error message). I haven't digged further yet, since the
other plugin satisfies my need.
relocation R_X86_64_PC32 against `nsIThreadManager::COMTypeInfo<int>::kIID' can
not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
Anyhow, I definitely need a recent OpenJDK RPM to go in production.
That's why I posted the previous thread ("Recent Java OpenJDK RPMs"):
I know that this won't be an easy task to do it myself, so I'm first
trying to identify similar efforts.
I did not know that there had been an EPEL packaged OpenJdk.
Would you be kind enough to point me to the SRPM you found?
I'll keep the list posted on my progress.
Comments and ideas more than welcome!
More information about the CentOS