OO: Missing JRE

HillarP hillar.poldmaa at mail.ee
Sun Jun 8 14:17:43 UTC 2008


Ühel kenal päeval (pühapäev 08 juuni 2008 16:58) kirjutas H.S.Rai:

> On Ubuntu 8.04, JRE is installed:
> 
>> sudo update-alternatives --config java
>> There is only 1 program which provides java
>> (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure.
> 
> But OO does not find it:
> 
>> $ oowriter hsrai_cemct06.doc &
>> $ javaldx: Could not find a Java Runtime Environment!
>> $ Error:java.util.zip.ZipException: error in opening zip file
>> Error:java.lang.NullPointerException
>> Error:java.util.zip.ZipException: error in opening zip file
>> Error:java.lang.NullPointerException
> 
> How to resolve it?

Open OOo and then go "Tools->Options" and under "OpenOffice.org" find java.
Press Add and show the path to java executable. If everythig correct this
JRE should appear in the list and then enable it.

-- 
With best regards
HillarP





More information about the ubuntu-users mailing list