Red Hat Bugzilla – Bug 442602
libjvm is in a directory called "core"
Last modified: 2008-04-18 10:29:45 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Stuff like OOo tries to dlopen libjvm to do its java magic, so it can't find it
at the moment. Typically client is searched for. Is there any particular reason
that openjdk places it in a dir called "core" ?
Well actually we search in client, server and classic to be exact
Gary, can you comment here?
Sure. The directories "client" and "server" are the names of Sun's JITs, but
they're only supported on i386 and x86_64. No other platform has those, so the
JVM is in the "core" directory (HotSpot calls a build without a JIT a core build).
Can I suggest using a glob rather than checking for fixed paths? The reason I
say this is that I'm working on a new JIT for the platforms that don't already
have one, so at some time in the future some of those platforms will likely move
from "core" to "shark". Maybe check "client" first (it's probably the best for
OOo) and fall back to globbing?
I'm sure it makes sense from an internal point of view, but from my own naive
pov I'd still have expected to see a fat fake link :-) We have the client/server
dir configuration with java-1.5.0-gcj which was convenient.
It is kind of a legacy of something that doesn't exist any more, thinking about
it. I'll see how easy it is to change...
Fixed in icedtea6 hg. The JVM is now in "server".
Building new version into rawhide, should be in tomorrow.