xvkaixvan 2017-02-09 03:08 采纳率: 0%
浏览 5066
已结题

linux下运行openoffice失败

安装成功后运行soffice -headless -accept="socket,host=127.0.0.1,port=8100:urp;" -nofirststartwizard & 报错:javaldx: Could not find a Java Runtime Environment!

但是linux下是有Java环境的,请问是何原因?还请大神赐教。

谢谢!

问题如图所示:图片说明
图片说明

  • 写回答

1条回答 默认 最新

  • 战在春秋 2017-02-09 05:46
    关注

    直接上原文:

    OpenOffice.org needs Java for the database and help systems, but the rest of the suite will work without it. The best way to install Java is through your distro's package manager. The download from Sun will work, but keeping as much software as possible inside the package management system reduces dependency and conflict problems later on. Getting OpenOffice.org to work with Java can be less than intuitive. Select Options from the Tool menu and pick OpenOffice.org >Java. Enable Java by ticking the 'Use a Java runtime environment' box then wait for it to scan your system for suitable Java installations.

    This can take from a few seconds to a minute, depending on the speed of your system. This is Java, so it seems appropriate to make a cup of coffee while you are waiting. Eventually, you should see a list of your Java Runtime Environment (JRE) installations, select one and press OK. You need to quit and restart OpenOffice.org for the change to take effect. If OpenOffice.org fails to find your JRE, you can click the Add button and give the path to it manually. This should be something like /opt/sun-jdk-1.6.0.03/jre/bin. If you have installed through your distro's package manager (not the OpenOffice.org package manager), you can generally use that to view the contents of a package, which will tell you where it is installed.

    评论

报告相同问题?

悬赏问题

  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建