Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed OpenOffice in Redhat5 in text mode. When I tried to start OpenOffice using the command:

sudo /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;    urp;StarOffice.ServiceManager " -nologo -headless -nofirststartwizard: "

It shows the error saying

javaldx: Could not find a Java Runtime Environment!

So I installed jre in my system, and then I did not get any error but OpenOffice does not start. Also I checked the process regarding OpenOffice, but I haven's seen any process related to that.

Can any one help me to fix this issue?

share|improve this question

migrated from Mar 28 '12 at 3:56

This question came from our site for professional and enthusiast programmers.

Did you install JRE as a RedHat package? Did you re-install openoffice afterward? Did you consider using Libreoffice? – Basile Starynkevitch Mar 23 '12 at 6:33
why sudo? it may be your problem - sometimes, i fyou want to run sth as super user, sudo is not enough, you have to login as root. – h4b0 Mar 23 '12 at 8:01
ooffice -writer 

This, entered in a terminal, will open OpenOffice Writer.

share|improve this answer

You must log in to answer this question.