You are not logged in.
Pages: 1
I just installed AL 7.0 and upgraded to 7.1. Installed openoffice-base, and it gave me a java error, installed jre2 and still it gives me the same error.
I updated the database, logged out/logged in, even rebooted to no avail. Is this a bug? Thanks
Offline
It's working fine here, but I don't run/install any java stuff. If you haven't done so already, maybe remove OOo from your pacman's cache and then reinstall it.
oz
Offline
Does it start and function properly? If so you can probably ignore it. Welcome to *nix - land of useless warnings and "errors"
Offline
I disinstalled it (pacman -Rcs openoffice-base), cleaned my /home from any OOo files, reinstalled it, invoked it (soffice) and still get this:
javaldx: Could not find a Java Runtime
Environment!
when i ignore it, a dialog box comes up:
"The application cannot be started. An internal error occurred."
And OOo will not open. ![]()
Offline
do have a classpath set?
[tyler@eLINUXe ~]$ echo $CLASSPATH
:/opt/java/jre/lib:/opt/java/libyou should have a file named j2re.sh in /etc/profile.d/. If you don't add it and put this in it:
export J2REDIR=/opt/java/jre
export PATH=$PATH:$J2REDIR/bin
export MANPATH=$MANPATH:$J2REDIR/man
export CLASSPATH=$CLASSPATH:$J2REDIR/lib
if [ ! -f /etc/profile.d/j2sdk.sh ]; then
export JAVA_HOME=/opt/java/jre
fichmod 755 and do the logout trick again.
Offline
Thanks Penguin, yesterday i did a 'pacman -Syu' and OOo started, IOW, i didn' have to put in practice your advice, but when the time comes to discard or save the document, it freezes. forcing me to log out/login.
Offline
Just a little extra on this, I had the java warning message after I had installed j2re and openoffice. The problem was that you need to logout and log back in again for the classpath to get set from the profile.d.
If you don't want to logout and back in then you can do
su - <your>to re-run all the login scripts.
Offline
Pages: 1