OpenOffice 1.0.1 is missing some really, really useful information, which used to be presented to the user. Previously, it printed: * This ebuild has only been tested with the blackdown port of * java. If you use another java implementation, it could fail * horribly, so please merge the blackdown-jdk and set it as * system VM before proceeding: * * # emerge blackdown-jdk * # java-config --set-system-vm=blackdown-jdk-1.3.1 * # env-update * # source /etc/profile * * At the time of writing, this was version 1.3.1, so please * adjust the version according to the version installed in * /opt. * * If you however want to test another JDK (not officially supported), * you could do the following: * * # export FORCE_JAVA=yes * Now it prints four lines about not overoptimizing. The really important thing is that it should hint at where the 'java home directory' is. When I emerged it, it asked me for the location of the 'java home directory', but I had no idea what it was - and it was pretty much undocumented, except in a mailing list archive. In the end, it was /opt/blackdown-jdk-1.3.1. I would have found that much sooner with the above info at hand. Thanks, -Tech
it only prints these lines if blackdown isn't your default
I am having this same problem. I have unmerged and re-emerged both blackdown's jdk and jre. I've run java-config --set-system-vm several times, as well as doing the env-update and source /etc/profile. Looking in /etc/profile.env, a number of thinks relating to java are set. The are also set in my shell. Regardless, I still get asked about the location of the java home directory. Also, above this it says checking the installed JDK... configure: warning correct jdk not found.