Jump to content

OpenOffice/StarOffice not finding java runtime environment?


Steve Scrimpshire
 Share

Recommended Posts

Why don't these two find the JRE that I have installed? I grabbed the latest JRE from Sun and installed it and followed DOlson's tutorial to get everything to recognize it's existence. I even used the 'Browse' function to locate JRE when it didn't find it. What file exactly is it looking for?

 

[Edit]: I had Sun's JRE installed before I installed OpenOffice and StarOffice....tried them both.

Link to comment
Share on other sites

I don't know if that's the answer, but here is the file /etc/java/java.conf that I wrote. I source it into my environment before any session, including before installing OOo:

#!/bin/bash



export JAVAPATH=/usr/local/java

export JAVACMD=$JAVAPATH/bin/java

export JDK_HOME=$JAVAPATH

export JAVA_HOME=$JAVAPATH

if [ -z "`echo $PATH | grep -F $JAVAPATH/bin`" ]; then

 export PATH=$PATH:$JAVAPATH/bin

fi

if [ -z "$LANG" ]; then

 export LANG=fr

 export LANGUAGE=fr_FR:fr

 export LC_TIME=fr_FR@euro

 export LC_CTYPE=fr_FR@euro

 export LC_NUMERIC=fr_FR@euro

 export LC_COLLATE=fr_FR@euro

 export LC_MONETARY=fr_FR@euro

 export LC_MESSAGES=fr_FR@euro

fi

Adapt it to your situation, and see if that helps...

 

Yves.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...