i don't know if this is relevent to your situation, but (with linux-libs installed) i downloaded the manual install of
www.java.com linux jre into /usr/X11R6/lib, and it works fine (so far...) with all my linux doo-dads.
if you're using it for devel or bsd apps, i have no clue, here.
luck -O.