1 |
On Monday 23 September 2002 12:08, Peter Ruskin wrote: |
2 |
> |
3 |
> How do you mean, Paul? When I install openoffice? How? I did Data |
4 |
> Source Administration within openoffice, selected |
5 |
> Database type: JDBC |
6 |
> Data source URL jdbc:msql://localhost:3306/ |
7 |
> JDBC driver class /usr/share/mysql-jdbc/lib/mm.mysql-2.0.14-bin.jar |
8 |
> ...result: |
9 |
> The connection to the data source "mysql" could not be established. |
10 |
> No java installed! |
11 |
|
12 |
Openoffice by default is not installed with java support. To enable it for |
13 |
your user do: |
14 |
|
15 |
Edit /etc/openoffice/autorespons.conf |
16 |
Change the line that says |
17 |
JavaSupport=none |
18 |
|
19 |
into |
20 |
JavaSupport=preinstalled_or_none |
21 |
|
22 |
Then go into ~/.openoffice |
23 |
mv 1.0.1 1.0.1-old |
24 |
|
25 |
Edit ~/.sversionrc and remove the line about openoffice 1.0.1 |
26 |
Run ooffice (now automatically a new installation is performed) |
27 |
exit ooffice |
28 |
|
29 |
go into ~/.openoffice |
30 |
cp 1.0.1/user/config/javarc 1.0.1-old/user/config/ |
31 |
rm -r 1.0.1 |
32 |
mv 1.0.1-old 1.0.1 |
33 |
|
34 |
And you will have Java running for you under openoffice. |
35 |
|
36 |
Paul |
37 |
|
38 |
ps. You could of course also obtain a valid javarc from somewhere else (or |
39 |
make it yourself) and put it there |
40 |
|
41 |
-- |
42 |
Paul de Vrieze |
43 |
Junior Researcher |
44 |
Mail: pauldv@××××××.nl |
45 |
Homepage: http://www.devrieze.net |