xvkaixvan
xvkaixvan
采纳率0%
2017-02-09 03:08

linux下运行openoffice失败

5

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

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

谢谢!

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

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • fight_in_dl 战在春秋 4年前

    直接上原文:

    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.

    点赞 1 评论 复制链接分享

相关推荐