使用Libre office,为什么无法建立“BASE数据库”?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
男菜鸟
帖子: 1365
注册时间: 2008-12-16 14:01
来自: 漂在江湖

使用Libre office,为什么无法建立“BASE数据库”?

#1

帖子 男菜鸟 » 2017-06-25 23:21

系统是16.04LTS desktop
如图,点击“BASE数据库”,软件无反应(其他write等全部正常),为什么?
0625.png
0625A.png
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 使用Libre office,为什么无法建立“BASE数据库”?

#2

帖子 vickycq » 2017-06-25 23:50

执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
dpkg -l | grep libreoffice-base
libreoffice --base
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
男菜鸟
帖子: 1365
注册时间: 2008-12-16 14:01
来自: 漂在江湖

Re: 使用Libre office,为什么无法建立“BASE数据库”?

#3

帖子 男菜鸟 » 2017-06-26 22:03

vickycq 写了:执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
dpkg -l | grep libreoffice-base
libreoffice --base
gu@gu-Inspiron-N311z:~$ uname -a
Linux gu-Inspiron-N311z 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
gu@gu-Inspiron-N311z:~$ dpkg -l | grep libreoffice-base
ii libreoffice-base-core 1:5.1.6~rc2-0ubuntu1~xenial2 amd64 office productivity suite -- shared library
gu@gu-Inspiron-N311z:~$ libreoffice --base
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx

(soffice:5611): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:5611): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

此时Libre office 启动,打开了writer!
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 使用Libre office,为什么无法建立“BASE数据库”?

#4

帖子 vickycq » 2017-06-26 22:49

男菜鸟 写了:gu@gu-Inspiron-N311z:~$ dpkg -l | grep libreoffice-base
ii libreoffice-base-core 1:5.1.6~rc2-0ubuntu1~xenial2 amd64 office productivity suite -- shared library
我不是很清楚,只安装 libreoffice-base-core 能使用 LibreOffice Base 吗?是不是需要安装 libreoffice-base?
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
tang.zhe
帖子: 1505
注册时间: 2010-07-15 13:31

Re: 使用Libre office,为什么无法建立“BASE数据库”?

#5

帖子 tang.zhe » 2017-06-27 11:47

我记得选项里面有一个java支持,需要选中。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 使用Libre office,为什么无法建立“BASE数据库”?

#6

帖子 poloshiao » 2017-06-27 16:05

先建立一個数据库看看
參閱
http://www.libreoffice.org/assets/Uploa ... rtedLO.pdf
LibreOffice 5.x User Guides
Getting Started 5.1
page 229
Creating a new database
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 使用Libre office,为什么无法建立“BASE数据库”?

#7

帖子 Ping-Wu » 2017-06-27 16:37

vickycq 写了:
男菜鸟 写了:gu@gu-Inspiron-N311z:~$ dpkg -l | grep libreoffice-base
ii libreoffice-base-core 1:5.1.6~rc2-0ubuntu1~xenial2 amd64 office productivity suite -- shared library
我不是很清楚,只安装 libreoffice-base-core 能使用 LibreOffice Base 吗?是不是需要安装 libreoffice-base?
我们把一个简单的事情,搞得太复杂了。 :Haha

如我在其他的帖子里谈到,Ubuntu自带的LibreOffice残缺不全,必须用下面的指令补齐:

代码: 全选

sudo apt update; sudo apt install libreoffice
这个简单的动作,还会自动装openjdk,执行Base时需要*。

*以前,openjdk 6 的品质很差,大大的影响了LibreOffice的操作,必须换成Oracle版的java。 从 openjdk 7 起,问题解决了。目前我的 Ubuntu Mate 17.04 用上面的指令以后,所下载openjdk 的版本是 8.0。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 使用Libre office,为什么无法建立“BASE数据库”?

#8

帖子 poloshiao » 2017-06-28 7:29

1. 要使用 BASE 需要先安裝 openjdk-7-jre 或 openjdk-8-jre
http://www.libreoffice.org/assets/Uploa ... rtedLO.pdf
LibreOffice 5.x User Guides
Getting Started 5.1
page 227
Caution
To use Base, you need to use a Java Runtime Environment (JRE). Please go to Tools > Options > LibreOffice > Advanced to select a JRE from those installed on your computer.
If a JRE is not already installed, you will need to download and install one. For Windows, you need to get Java from http://www.java.com. For Linux, you can download it from the same website or you can use openjdk-7-jre, available from the repository of your Linux version. Mac OS X users can install a JRE from Apple Inc.

2. 可以從 Ubuntu 官方套件庫 安裝 openjdk-7-jre 或 openjdk-8-jre
https://help.ubuntu.com/community/Java#OpenJDK
OpenJDK
Install the openjdk-7-jre package using any installation method.
2-1. https://packages.ubuntu.com/search?suit ... chon=names
套件 openjdk-7-jre (Ubuntu 14.04 版本)
2-2. https://packages.ubuntu.com/search?suit ... chon=names
套件 openjdk-8-jre (Ubuntu 16.04 及 以上 版本)
回复