config jre for openoffice3.0
来源:互联网 发布:dht11单片机代码 编辑:程序博客网 时间:2024/06/05 07:11
config jre for openoffice3.0
如果使用openoffice解析word文件,大家知道是需要配置jre的,一般做法是这样的:
- 启动openoffice
- 选择Tools-->Options
- 选择OpenOffice.org下的Java选项
- 然后选择适当的jre,点击OK,重启openoffice即可,如下图:
问题:
openoffice默认的jre是系统自带的,可以通过如上方式换成我们常用的JDK版本,但是如果服务器是批量生产的,如上的手动设置岂不太过繁琐?如何通过命令或者脚本更改呢?
通过查阅openoffice官方文档,有如下描述:
The configuration is stored in
Just delete this file if you want StarOffice to detect again. The Java configuration file cannot be modified manually. The data format is not specified and may change anytime without further notice. Don't try to modify that file to change the Java version. The < location > and < version > entries are only for 'documentation', the Java version is accessed via the < vendorData > , which is binary.
解决方法:
使用locate命令查找javasettings配置文件,发现位于如下目录:
将一个已经配置好JRE的服务器上的openoffice配置文件(javasettings_Linux_x86.xml)拷贝到尚未配置的机器上,启动openoffice,果然好了,特记录之。
附录:
javasettings_Linux_x86.xml文件内容如下:
注意:本文件仅可替换,不可修改,< vendorData >中的内容才为真正的版本号说明。
- config jre for openoffice3.0
- 安装openoffice3.0
- config for vi&vim
- emacs config for my
- fast config for ComboPooledDataSource
- Ubuntu config for SLAM
- Ubuntu删除OpenOffice3
- Linux安装OpenOffice3
- openoffice3.2启动socket
- Linux download and installation for JRE
- java jre 安装方法 FOR FEDORE
- Enable EBS environments for JRE 7
- Enable JRE plugin for Firefox ( by quqi99 )
- App.Config for your DLL
- App.Config for your DLL
- Window API For Config Files
- pkg-config for mac 安装
- pkg-config for mac 安装
- vivi的配置与编译 - BSPLover的专栏 - CSDN博客
- November, 04
- freebsd 安装软件时重新配置
- 不用额外空间来交换 a b 值的方法
- Microsoft Office Project 2007 使用指南(3) - Create a custom field
- config jre for openoffice3.0
- SQL SERVER 2000 数据库备份和SQL Server数据库备份有两种方式,
- 数据库中union 与union all 的区别
- 数据结构与算法分析-AVL树的实现
- 手工构造典型PE文件
- 程序员修炼之道(8)
- 大家都来用用iGoogle吧 (希望大家能通过QQ群,邮件,好友等帮我传播一下,谢谢)
- 怎么捕获自己session执行的sql,进行深入跟踪
- 查看电脑是否被注入