Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9814 - OpenOffice 1.0.1 is extremely unclear about 'java home directory'
Summary: OpenOffice 1.0.1 is extremely unclear about 'java home directory'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-28 00:45 UTC by Paul Prince
Modified: 2003-01-19 07:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Prince 2002-10-28 00:45:25 UTC
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
Comment 1 Seth Chandler 2002-11-27 23:28:41 UTC
it only prints these lines if blackdown isn't your default
Comment 2 jsado_sc3 2003-01-19 07:19:56 UTC
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.