2011/6/20 Muhammad Muntaza <[email protected]>

>
>
> 2011/6/20 Matthias Guedemann <[email protected]>
>
>>
>> > $ echo $JAVA_HOME
>> > /usr/local/jre-1.7.0
>> > $ echo $JAVACMD
>> > /usr/local/jre-1.7.0/bin/java
>> >
>> ---8<----
>> > What wrong with my installation?
>>
>> unsure. I do not know where OpenOffice looks exactly for java.
>> Does it work if $JAVA_HOME/bin is in $PATH?
>>
>> regards
>>
>>
>>
> I was set $JAVA_HOME/bin in my $PATH, but it not work.
>
> $ cat /home/muntaza/.profile
> # $OpenBSD: dot.profile,v 1.4 2005/02/16 06:56:57 matthieu Exp $
> #
> # sh/ksh initialization
>
>
> PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:/usr/local/lib/libreoffice/ure/bin:/usr/local/jre-1.7.0/bin:.
> PKG_PATH=http://ftp.itb.ac.id/pub/OpenBSD/4.9/packages/i386/
>
> JAVA_HOME=/usr/local/jre-1.7.0
> JAVACMD=/usr/local/jre-1.7.0/bin/java
> PKG_CACHE=/home/muntaza/paket/
> export PKG_CACHE JAVA_HOME JAVACMD PATH HOME TERM PKG_PATH
> $
>
> $ which
> java
> /usr/local/jre-1.7.0/bin/java
>
>
> $
> soffice
>
> javaldx: Could not find a Java Runtime Environment!
>
> Hello,

this is default config javasetting in my installation


$ cat .openoffice.org/3/user/config/javasettings_OpenBSD_x86.xml

<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>
<enabled xsi:nil="true"></enabled>
<userClassPath xsi:nil="true"></userClassPath>
<vmParameters xsi:nil="true"></vmParameters>
<jreLocations xsi:nil="true"></jreLocations>
<javaInfo xsi:nil="true"></javaInfo>
</java>


I start OpenOffice:

$ soffice
javaldx: Could not find a Java Runtime Environment!

I was edit this file, with location of jre:

$ cat .openoffice.org/3/user/config/javasettings_OpenBSD_x86.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>
<enabled xsi:nil="true"></enabled>
<userClassPath xsi:nil="true"></userClassPath>
<vmParameters xsi:nil="true"></vmParameters>
<jreLocations xsi:nil="true"></jreLocations>
<javaInfo xsi:nil="false" autoSelect="false">
<location>file:///usr/local/jre-1.7.0</location>
<version>1.7.0</version>
<features>0</features>
<requirements>1</requirements>
</javaInfo>
</java>

with this setting, I start OpenOffice:

$
soffice

[Java framework] Error in function NodeJavaInfo::loadFromNode
(elements.cxx).
javaldx failed!



Error in OpenOffice Base when I try to open my .odb file:

1)
The connection to the data source "New Database3" could not be established.

2)
SQL Status: HY000
The connection to the external data source could not be established. No SDBC
driver was found for the given URL.

3)
A connection for the following URL was requested "sdbc:embedded:hsqldb".


I still can not use HSQL database with OpenOffice.


Thanks,

Muhammad Muntaza bin Hatta,
South Borneo, Indonesia
-- 
http://muntaza.wordpress.com

Reply via email to